pdf2image icon indicating copy to clipboard operation
pdf2image copied to clipboard

DPI doesn't work

Open scaffarelli opened this issue 5 months ago • 0 comments

Describe the bug I'm trying to convert a PDF to a PNG with a DPI = 150 but doesn't work, by default it's exporting not matter the DPI value to 96.

To Reproduce Steps to reproduce the behavior:

  1. run the follow code to reproduce it

images = convert_from_bytes( pdf_file_bytes, dpi=DPI, fmt=FMT, thread_count=8,
)

the FMT = 'PNG' and the DPI = 150

Expected behavior Each file should be converted to the desired DPI value

Desktop (please complete the following information): OS : Windows & tested on AWS Lambda

Additional context Version used: 1.17.0

scaffarelli avatar Sep 22 '24 18:09 scaffarelli