8000 DPI doesn't work · Issue #288 · Belval/pdf2image · GitHub
[go: up one dir, main page]

Skip to content

DPI doesn't work #288

@scaffarelli

Description

@scaffarelli

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0