Re: Compute the "ideal" image size

Robin Becker <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <[email protected]>
On 06/01/2020 12:17, Lele Gaifax wrote:
> Thank you Manasseh!
> 
> I ended with a formula like
> 
>    (DESIRED_DPI / units.inch) * measure_in_pdf_points
> 
> to get the number of pixels to resize the image before embedding in the PDF.
> 
> ciao, lele.
> 
If people will magnify the PDF then higher densities are worth while to avoid pixellation.

-- 
Robin Becker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.