<div dir="ltr"><div>Hi Dmitri,</div><div><br></div><div>If you have a script to extract thumbnails as PGF blobs from digiKam database, we can share files in my github project. <br></div><div><br></div><div>Best</div><div><br></div><div>Gilles<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 9 juin 2021 à 09:00, 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">Thank you very much for your prompt reply, Gilles!<br>
<br>
Best,<br>
Dmitri<br>
<br>
June 8, 2021 6:36 PM, "Gilles Caulier" <<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>> wrote:<br>
<br>
> hi Dmitri,<br>
> <br>
> Hey no, it's not a JPEG image, it's PGF image image (using wavelets compression). It's better than<br>
> JPEG in speed, quality, and size.<br>
> <br>
> To convert this PGF t PNG for ex, use my CLI tool from my github account :<br>
> <br>
> <a href="https://github.com/cgilles/digikam-pgf-database" rel="noreferrer" target="_blank">https://github.com/cgilles/digikam-pgf-database</a><br>
> <br>
> Best regards<br>
> <br>
> Gilles Caulier<br>
> Le mar. 8 juin 2021 à 18:20, Dmitri Popov <<a href="mailto:dmpop@tokyoma.de" target="_blank">dmpop@tokyoma.de</a>> a écrit :<br>
> <br>
>> Hello,<br>
>> <br>
>> A technical question from someone who has no idea what he's doing. :-) I'm trying to exact a<br>
>> thumbnail directly from the thumbnails-digikam.db database, but this command gives me a file that<br>
>> 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>