<div dir="ltr"><div dir="ltr">hi Dmitri,</div><div dir="ltr"><br></div><div>Hey no, it's not a JPEG image, it's PGF image image (using wavelets compression). It's better than JPEG in speed, quality, and size.</div><div><br></div><div>To convert this PGF t PNG for ex, use my CLI tool from my github account :</div><div><br></div><div><a href="https://github.com/cgilles/digikam-pgf-database">https://github.com/cgilles/digikam-pgf-database</a></div><div><br></div><div>Best regards</div><div><br></div><div>Gilles Caulier<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 8 juin 2021 à 18:20, Dmitri Popov <<a href="mailto:dmpop@tokyoma.de">dmpop@tokyoma.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
A technical question from someone who has no idea what he's doing. :-) I'm trying to exact a thumbnail directly from the thumbnails-digikam.db database, but this command gives me a file that is not recognized as JPEG:<br>
<br>
sqlite thumbnails-digikam.db "SELECT writefile('thumbnail.jpg', data) FROM Thumbnails WHERE id=1;"<br>
<br>
What am I doing wrong?<br>
<br>
Thank you!<br>
<br>
Kind regards,<br>
Dmitri<br>
---<br>
Tōkyō Made - <a href="https://tokyoma.de/" rel="noreferrer" target="_blank">https://tokyoma.de/</a><br>
</blockquote></div></div>