add example for how to specify custom dpi

This commit is contained in:
Johannes Schauer Marin Rodrigues 2024-09-11 11:34:14 +02:00
parent 819b366bf5
commit 5540365cfd
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -3959,6 +3959,10 @@ Examples:
$ img2pdf --output out.pdf page1.jpg page2.jpg
Use a custom dpi value for the input images:
$ img2pdf --output out.pdf --imgsize 300dpi page1.jpg page2.jpg
Convert a directory of JPEG images into a PDF with printable A4 pages in
landscape mode. On each page, the photo takes the maximum amount of space
while preserving its aspect ratio and a print border of 2 cm on the top and