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

Gilles Caulier caulier.gilles at gmail.com
Sat Apr 3 19:42:29 BST 2010


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


Gilles Caulier <caulier.gilles at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rschweizer at schweizer-inform
                   |                            |atik.ch




--- Comment #5 from Gilles Caulier <caulier gilles gmail com>  2010-04-03 20:42:27 ---
Raphael,

Please look at this file. Sound like another libpgf problem under PPC computer.
Here, Vlado see thumbnails blured in digiKam icon view. It's typically a
compression problem with libpgf, i think.

Code relevant in digiKam is there :

http://lxr.kde.org/source/extragear/graphics/digikam/libs/threadimageio/pgfutils.cpp#83

This method is used to create a bytearray of a compressed PGF image
computed from a QImage instance. This bytearray is stored in digiKam Database
as well.

To extract PGF bytearray from database and create a QImage, we use this method
:

http://lxr.kde.org/source/extragear/graphics/digikam/libs/threadimageio/pgfutils.cpp#53

The rest of thumbnail process in digiKam is Qt4 based code, and the problem is
not there.

About libpgf compiled in digiKam core, we use this CMake code :

http://lxr.kde.org/source/extragear/graphics/digikam/CMakeLists.txt#1002

There is no special compilation flag set for libpgf.

Finally, lipgf code is there :

http://lxr.kde.org/source/extragear/graphics/digikam/libs/3rdparty/libpgf/

Thanks in advance for your help

Gilles Caulier

-- 
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