<div dir="ltr"><div>I invite you to contribute to the github project where is store the PGF to PNG converter. This is the right place to store extra scripts to extract PGF blob from database.</div><div><br></div><div>Best regards</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 à 12:45, 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">Sure thing! I'll ping you when the script is ready. Thanks, Gilles!<br>
<br>
Best,<br>
Dmitri<br>
---<br>
Tōkyō Made - <a href="https://tokyoma.de/" rel="noreferrer" target="_blank">https://tokyoma.de/</a><br>
<br>
June 9, 2021 10:43 AM, "Gilles Caulier" <<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>> wrote:<br>
<br>
> Hi Dmitri,<br>
> <br>
> If you have a script to extract thumbnails as PGF blobs from digiKam database, we can share files<br>
> in my github project.<br>
> <br>
> Best<br>
> <br>
> Gilles<br>
> Le mer. 9 juin 2021 à 09:00, Dmitri Popov <<a href="mailto:dmpop@tokyoma.de" target="_blank">dmpop@tokyoma.de</a>> a écrit :<br>
> <br>
>> 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<br>
>> 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<br>
>> that<br>
>>>> is not recognized as JPEG:<br>
>>>> <br>
>>>> sqlite thumbnails-digikam.db "SELECT writefile('thumbnail.jpg', data) FROM Thumbnails WHERE<br>
>> 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>