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