[Digikam-devel] [Bug 233094] libpgf relevant : thumbnails blurry (when scaling) on PowerPC platform (big-endian)

Raphael Schweizer rschweizer at schweizer-informatik.ch
Sun Apr 18 16:57:37 BST 2010


https://bugs.kde.org/show_bug.cgi?id=233094





--- Comment #27 from Raphael Schweizer <rschweizer schweizer-informatik ch>  2010-04-18 17:57:32 ---
Vlado,

thank you for creating those files. I'm glad to hear that the issues are
resolved in the newest version.
The strange colors are caused by the missing int[] map. PGF internally works
with YUV images and by default imports / exports BGRA bitmaps. If the caller
supplies / needs ARGB format, we have to supply the corresponding mapping (ARGB
-> BGRA: [3, 2, 1, 0]). As these are missing from 1.2.0 digiKam, libPGF does a
wrong YUV transformation and the images end up 'blueish'. However, I can't
explain how this is linked to the blurriness. The crash was most likely caused
by a 'short' map, which is also fixed in SVN.
Encoding the debig_svn/writeQImage.bmp with the windows version of libPGF now
gives the same result as on your PPC. Therefore, digiKam 1.3.0 should work as
expected.

Raphael

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list