Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DPI doesn't work #288

Open
scaffarelli opened this issue Sep 22, 2024 · 1 comment
Open

DPI doesn't work #288

scaffarelli opened this issue Sep 22, 2024 · 1 comment

Comments

@scaffarelli
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@scaffarelli and others