[Digikam-devel] [Bug 233094] libpgf relevant : thumbnails blurry (when scaling) on PowerPC platform (big-endian)
Raphael Schweizer
rschweizer at schweizer-informatik.ch
Wed Apr 14 17:47:17 BST 2010
https://bugs.kde.org/show_bug.cgi?id=233094
--- Comment #15 from Raphael Schweizer <rschweizer schweizer-informatik ch> 2010-04-14 18:47:14 ---
Created an attachment (id=42783)
--> (http://bugs.kde.org/attachment.cgi?id=42783)
PGF thumbail channel map patch
Gilles,
the blurriness issue is finally demystified:
1) on big endian systems, libpgf did a wrong YUV transform of thumbnails
(missing ARGB / BGRA map) which led to increased data size
2) libPGF crashed when a ARGB PGF was loaded (short channel map).
a) loadPGFScaled only works with (A)RGB PGFs (some mapping PGF.Mode <->
QImage.Mode is needed)
b) Judging from screenshots thumbnail images are stored 256x256 but displayed
254x254 (with black border). Resizing introduces blurriness.
Issues 1) & 2) are solved with the attached patch. a) and b) are outside the
scope of this bug.
Please note that a rebuild of the thumbnails is needed on big endian systems.
Raphael Schweizer
--
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