[Gambas-user] gb.poppler

Benoît Minisini g4mba5 at gmail.com
Mon Jun 22 19:39:23 CEST 2020


Le 22/06/2020 à 17:25, Tony Morehen a écrit :
> 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.
> 

The default resolution in poppler is 72 DPI. Maybe we should keep the 
default of the library, and let the user specify what he wants exactly.

Anyway you have to specify the DPI of *your* screen. It is not 
necessarily 96 DPI!

-- 
Benoît Minisini


More information about the User mailing list