pdftocairo
Convert PDF files to PNG/JPEG/TIFF/PDF/PS/EPS/SVG using cairo. More information: https://manned.org/pdftocairo.
- Convert a PDF file to JPEG:
pdftocairo -jpeg
- Convert to PDF expanding the output to fill the paper:
pdftocairo -pdf -expand
- Convert to SVG specifying the first/last page to convert:
pdftocairo -svg -f -l
- Convert to PNG with 200ppi resolution:
pdftocairo -png -r 200
- Convert to grayscale TIFF setting paper size to A3:
pdftocairo -tiff -gray -paper A3
- Convert to PNG cropping x and y pixels from the top-left corner:
pdftocairo -png -x -y
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
