[digiKam-users] Thumbnails are in Progessive Graphics File (PGF)

Gilles Caulier caulier.gilles at gmail.com
Thu Apr 11 16:26:12 BST 2019


yes absolutly There is a unit test here :

https://cgit.kde.org/digikam.git/tree/core/tests/fileio/qtpgftest.cpp

This code take a PGF file and load in Qt::QImage container, and save it as
PNG.

Code relevant from digiKam core (including libpgf as well) :

https://cgit.kde.org/digikam.git/tree/core/libs/pgfutils

Gilles Caulier

Le jeu. 11 avr. 2019 à 17:19, Gerhard Hoogterp <gerhard at frappe.xs4all.nl> a
écrit :

> On woensdag 10 april 2019 23:08:14 CEST Tac Tacelosky wrote:
> > Not piwigo, but DigiKam.  But since digiKam is a desktop app, it's
> normally
> > completely self-contained.  But the discussion was about accessing the
> > MySQL database in digiKam so that it could be usable on the web.  And
> > that's where having an esoteric format is problematic.  If the thumbnails
> > were stored in PNG or JPEG, it would literally be a few lines of code to
> > render them in the web browser.
>
> In that case half the needed code should be in the digikam code After all
> it
> reads and presents the thumbnails on screen which is more or less half way
> to
> saving it as something else?
>
>
> --
> https://gerhardhoogterp.nl/latest
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20190411/b92915c5/attachment.html>


More information about the Digikam-users mailing list