Version: 2.6 (using KDE 4.6.2) OS: Linux While digikam can open and handle PGF files fine gwenview does not. I'm not sure what libraries KDE-apps share but maybe gwenview can use digikam's code. Reproducible: Always
Gwenview uses Qt and kdelibs image plugins to decode image formats. Such a format should be added to kdelibs image plugins.
*** Bug 276428 has been marked as a duplicate of this bug. ***
*** Bug 273351 has been marked as a duplicate of this bug. ***
For information PGF image loader in digiKam core is here : https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/fd157019ae3dab52cb4570c221471a1444f6aad9/entry/libs/dimg/loaders/pgfloader.cpp PGF lib is here, last version patched a lots (OpenMP support bugs) https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/show/libs/3rdparty/libpgf As digiKam support 16 bits colors depth, we cannot use Qt image loader mechanism here. Note : Exiv2 shared lib, used to manipulate metadata support PGF image format Gilles Caulier
Mostly all code to read PGF image data to QImage and vis-versa are already written on digiKam core with these methods : to decode PGF image data from a QByteArray and store it to a QImage : https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/threadimageio/pgfutils.cpp#L53 to encode PGF image data from a QImage and store it to a QByteArray : https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/threadimageio/pgfutils.cpp#L108 Gilles Caulier
*** Bug 277843 has been marked as a duplicate of this bug. ***
would be nice to have pgf support. :)
*** Bug 338887 has been marked as a duplicate of this bug. ***
Please test with 6.2.0 pre-release bundles available here : https://files.kde.org/digikam/ Thanks in advance Gilles Caulier