[Gambas-user] gb.poppler

Tony Morehen tmorehen at ajm-software.com
Mon Jun 22 17:25:56 CEST 2020


Right now I'm using:

Dim img As Image = $PDFDocument[$spinPage.Value - 1].Render(,,,,, 
Desktop.Resolution)

This gives me a resolution of 96 dpi and exactly the same image and size 
as qpdfview at 100%.  This is my preference.

On 2020-06-22 8:55 a.m., Benoît Minisini wrote:
> Le 22/06/2020 à 15:21, Tony Morehen a écrit :
>> I've been using the new gb.poppler component in place of gb.pdf. It
>> meets everything I need for a simple pdf viewer application. Thanks 
>> Benoit!
>>
>> One minor suggestion:  use the screen resolution as the default
>> resolution for the page render method.  The current default renders an=2
>> overly large image.
>>
>
> OK, I used 300 DPI as default, so that I can see the details to check 
> if the PDF is rendered correctly.
>
> I will switch back to 72 DPI.
>
> Note that this is what I have to send to poppler. I don't know how if 
> it converts these DPI in pixels in a reliable way.
>
> Regards,
>

-- Email domain proudly hosted at https://migadu.com



More information about the User mailing list