Bug 273366 - KDE applications cannot open PGF files (progressive graphics format)
Summary: KDE applications cannot open PGF files (progressive graphics format)
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kimgio (show other bugs)
Version: 4.6
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 273351 277843 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-15 21:21 UTC by S. Burmeister
Modified: 2024-09-14 16:18 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S. Burmeister 2011-05-15 21:21:19 UTC
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
Comment 1 Aurelien Gateau 2011-05-31 09:59:02 UTC
Gwenview uses Qt and kdelibs image plugins to decode image formats. Such a format should be added to kdelibs image plugins.
Comment 2 caulier.gilles 2011-06-27 11:59:29 UTC
*** Bug 276428 has been marked as a duplicate of this bug. ***
Comment 3 caulier.gilles 2011-06-27 12:01:05 UTC
*** Bug 273351 has been marked as a duplicate of this bug. ***
Comment 4 caulier.gilles 2011-06-27 12:06:34 UTC
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
Comment 5 caulier.gilles 2011-06-30 10:18:32 UTC
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
Comment 6 Christoph Feck 2011-07-18 19:21:32 UTC
*** Bug 277843 has been marked as a duplicate of this bug. ***
Comment 7 Robert Riemann 2014-09-08 19:17:05 UTC
would be nice to have pgf support. :)
Comment 8 caulier.gilles 2014-09-08 21:28:51 UTC
*** Bug 338887 has been marked as a duplicate of this bug. ***
Comment 9 caulier.gilles 2019-07-27 20:01:08 UTC
Please test with 6.2.0 pre-release bundles available here :

https://files.kde.org/digikam/

Thanks in advance

Gilles Caulier
Comment 10 Christoph Cullmann 2024-09-14 16:18:30 UTC
Hi,

kdelibs (version 4 and earlier) is no longer maintained since a few years.

KDE Frameworks 5 or 6 might already have implemented this wish.

If not, please re-open against the matching framework if feasible or against the application that shows the issue.

We then can still dispatch it to the right Bugzilla product or component.

Greetings
Christoph Cullmann