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

Tac Tacelosky tacman at gmail.com
Wed Apr 10 22:08:14 BST 2019

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.


On Wed, Apr 10, 2019 at 3:11 PM Gerhard Hoogterp <gerhard at frappe.xs4all.nl>

> On woensdag 10 april 2019 20:35:58 CEST Tac Tacelosky wrote:
> > After digging around a bit, I think I have the answer to the question
> about
> > how the thumbnails are stored, which is PGF:
> >
> > https://en.wikipedia.org/wiki/Progressive_Graphics_File
> >
> > Unfortunately, I cannot for the life of me find something in PHP that
> will
> > convert from PGF to JPEG or PNG.
> Probably a stupid question, but... if piwigo stores its thumbnails in a
> database in a format that nobody uses, including browsers AND I see online
> the
> thumbnails being jpg, which makes sense since otherwise they would be
> useless,
> wouldn't that mean that in the piwigo code somewhere there's a conversion?
> And as I see this code on github it should be there somewhere?
> Not a piwigo user or anything, just wondering?
> --
> https://gerhardhoogterp.nl/latest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20190410/cfc2ecd4/attachment.html>

More information about the Digikam-users mailing list