Feature request: set DPI #157
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have some images, which have no DPI set. I am currently using third party tools to set DPI to those images (no reencoding is required) before converting them to PDF. It would be very handy to be able to set DPI within img2pdf, either separately - for each image, or globally – for all.
Does the option
--imgsize
/-s
help you? Quoting the help (formatting mine):Thank you! I have missed that. Can you set DPI for each image separately?
No, but you can create a PDF file for each image, and combine them with pdfunite (poppler-utils).
I'm using pdftk to merge multiple PDF files which, in contrast to pdfunite, has the advantage that it is also able to only pick certain pages from each input PDF file instead of just concatenating the whole thing.
This issue can be closed, right?