img2pdf
Losslessly convert raster images to a PDF file. Some supported image formats are: GIF, JPEG, JPEG2000, PNG, GIF, and TIFF. More information: https://gitlab.mister-muffin.de/josch/img2pdf.
- Convert one or more images to a single PDF, each image being on its own page:
img2pdf --output
- Convert only the first frame of a multi-frame image to PDF:
img2pdf --first-frame-only --output
- Auto orient the image, use a specific page size in landscape mode, and set a border of specific sizes horizontally and vertically:
img2pdf --auto-orient --pagesize --border : --output
- Shrink only larger images to a rectangle of specified dimensions inside a page with a specific size:
img2pdf --pagesize x --imgsize x --fit --output
- Convert an image to PDF and specify metadata for the resulting file:
img2pdf --title --author --creationdate --keywords --subject --output
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
