[Digikam-devel] [Bug 148037] tiff images are not displayed with correct colours - endian issue on powerpc?

Marcel Wiesweg marcel.wiesweg at gmx.de
Sun Aug 12 15:47:06 BST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=148037         




------- Additional Comments From marcel.wiesweg gmx de  2007-08-12 16:47 -------
Created an attachment (id=21377)
 --> (http://bugs.kde.org/attachment.cgi?id=21377&action=view)
Change byte order in 8-bit tiff loader

Thanks for the screenshots. When checking R,G,B and black (0,0,0,255) it is
clear that the problem is RGBA -> ABGR.
This can easily be changed in the TIFF loader code, see attached patch.

As to the other problem, there may well be some other part of code that is not
endian proof. There seem to be not to many users of digikam on affected
systems. If test how a file looks when it is opened again, always close digikam
in between to clear the cache.



More information about the Digikam-devel mailing list