<div dir="ltr"><div>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.</div><div><br></div><div>Tac</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 10, 2019 at 3:11 PM Gerhard Hoogterp <<a href="mailto:gerhard@frappe.xs4all.nl">gerhard@frappe.xs4all.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On woensdag 10 april 2019 20:35:58 CEST Tac Tacelosky wrote:<br>
> After digging around a bit, I think I have the answer to the question about<br>
> how the thumbnails are stored, which is PGF:<br>
> <br>
> <a href="https://en.wikipedia.org/wiki/Progressive_Graphics_File" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/Progressive_Graphics_File</a><br>
> <br>
> Unfortunately, I cannot for the life of me find something in PHP that will<br>
> convert from PGF to JPEG or PNG.<br>
<br>
Probably a stupid question, but... if piwigo stores its thumbnails in a <br>
database in a format that nobody uses, including browsers AND I see online the <br>
thumbnails being jpg, which makes sense since otherwise they would be useless, <br>
wouldn't that mean that in the piwigo code somewhere there's a conversion?<br>
And as I see this code on github it should be there somewhere?<br>
<br>
Not a piwigo user or anything, just wondering?<br>
<br>
-- <br>
<a href="https://gerhardhoogterp.nl/latest" rel="noreferrer" target="_blank">https://gerhardhoogterp.nl/latest</a><br>
<br>
<br>
</blockquote></div>