-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Support saving PDF with different X and Y resolutions #6961
Support saving PDF with different X and Y resolutions #6961
Conversation
Add a `dpi` parameter to the PDF save function, which accepts a tuple with X and Y dpi. This is useful for converting tiffg3 (fax) images to pdf, which have split dpi like (204,391), (204,196) or (204,98).
I have attached a received fax tiffg3 document in SuperFine resolution, and the pdf the fax software produces from this tiff (using an ancient tiff2pdf). |
Thanks. I've created jvanderneutstulen#1 with some suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little formatting nit, otherwise looks good.
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
9812f99
to
3c3d888
Compare
This is useful for converting tiffg3 (fax) images to pdf, which have split dpi like (204,391), (204,196) or (204,98).
Changes proposed in this pull request:
dpi
parameter to the PDF save function, which accepts a tuple with X and Y dpi.