[Gambas-user] gb.poppler - questions and issues

Claus Dietrich claus.dietrich at freenet.de
Sat Jan 27 17:33:33 CET 2024


Sorry, I was on the wrong track.

After some research I found what type of thumbnails you were referring 
to. These thumbnails are generated by a separate application/ tool - one 
thumbnail for each page - and are stored inside the PDF - so called 
"embedded thumbnails". I needed a commercial application under Windows 
to generate such PDF and are currently looking for a similar tool under 
Linux.

A test with the master showed, that the new "PdfDocument[].Thumbnail" 
property works very well with such PDFs. I am assuming that it will 
drastically speed up the display of page thumbnails.

So, thanks again for the implementation and sorry for the misunderstand.

Claus


Am 26.01.24 um 22:30 schrieb Benoît Minisini:
> Le 26/01/2024 à 20:21, Claus Dietrich a écrit :
>> Hi Benoít
>>
>> Thanks for your prompt and detailed reply.
>>
>> I saw in Gitlab that you implemented the Thumbnail method with commit 
>> 058c946f. Thanks a lot from Hans and me! A test with the latest 
>> master from the ppa 
>> (3.18.90+git202401251005.8b0342bd8+build36~ubuntu20.04.1) from 
>> yesterday however showed, that it still returns Null as before.
>>
>> Best regards
>>
>> Claus
>>
>
> It returns Null when there are no thumbnails in the PDF file, or if 
> they are in an unsupported image format.
>
> Regards,
>
> -- 
> Benoît Minisini.


More information about the User mailing list