pdf2image
pdf2image copied to clipboard
DPI doesn't work
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:
- 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