pdftoppm
Convert PDF document pages to portable Pixmap (image formats). More information: https://manned.org/pdftoppm.
- Specify the range of pages to convert (
n- first page,m- last page):
pdftoppm -f -l
- Convert only the first page of a PDF:
pdftoppm -singlefile
- Generate a monochrome PBM file (instead of a color PPM file):
pdftoppm -mono
- Generate a grayscale PGM file (instead of a color PPM file):
pdftoppm -gray
- Generate a PNG file instead a PPM file:
pdftoppm -png
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
