OS Manuals

/usr/bin/pdftoppm

From poppler-utils 26.11.0-r0 (os), captured 2026-11-06 by running pdftoppm --help (exit 0). permalink

pdftoppm version 26.11.0
Copyright 2005-2026 The Poppler Developers - http://poppler.freedesktop.org
Copyright 1996-2011, 2022 Glyph & Cog, LLC
Usage: pdftoppm [options] [PDF-file [PPM-file-prefix]]
  -f <int>                                 : first page to print
  -l <int>                                 : last page to print
  -o                                       : print only odd pages
  -e                                       : print only even pages
  -singlefile                              : write only the first page and do not add digits
  -scale-dimension-before-rotation         : for rotated pdf, resize dimensions before the rotation
  -r <fp>                                  : resolution, in DPI (default is 150)
  -rx <fp>                                 : X resolution, in DPI (default is 150)
  -ry <fp>                                 : Y resolution, in DPI (default is 150)
  -scale-to <int>                          : scales each page to fit within scale-to*scale-to pixel box
  -scale-to-x <int>                        : scales each page horizontally to fit in scale-to-x pixels
  -scale-to-y <int>                        : scales each page vertically to fit in scale-to-y pixels
  -x <int>                                 : x-coordinate of the crop area top left corner
  -y <int>                                 : y-coordinate of the crop area top left corner
  -W <int>                                 : width of crop area in pixels (default is 0)
  -H <int>                                 : height of crop area in pixels (default is 0)
  -sz <int>                                : size of crop square in pixels (sets W and H)
  -cropbox                                 : use the crop box rather than media box
  -hide-annotations                        : do not show annotations
  -mono                                    : generate a monochrome PBM file
  -gray                                    : generate a grayscale PGM file
  -displayprofile <string>                 : ICC color profile to use as the display profile
  -defaultgrayprofile <string>             : ICC color profile to use as the DefaultGray color space
  -defaultrgbprofile <string>              : ICC color profile to use as the DefaultRGB color space
  -defaultcmykprofile <string>             : ICC color profile to use as the DefaultCMYK color space
  -sep <string>                            : single character separator between name and page number, default -
  -forcenum                                : force page number even if there is only one page
  -png                                     : generate a PNG file
  -jpeg                                    : generate a JPEG file
  -jpegcmyk                                : generate a CMYK JPEG file
  -jpegopt <string>                        : jpeg options, with format <opt1>=<val1>[,<optN>=<valN>]*
  -overprint                               : enable overprint
  -tiff                                    : generate a TIFF file
  -tiffcompression <string>                : set TIFF compression: none, packbits, jpeg, lzw, deflate
  -freetype <string>                       : enable FreeType font rasterizer: yes, no
  -thinlinemode <string>                   : set thin line mode: none, solid, shape. Default: none
  -aa <string>                             : enable font anti-aliasing: yes, no
  -aaVector <string>                       : enable vector anti-aliasing: yes, no
  -opw <string>                            : owner password (for encrypted files)
  -upw <string>                            : user password (for encrypted files)
  -q                                       : don't print any messages or errors
  -progress                                : print progress info
  -v                                       : print copyright and version info
  -h                                       : print usage information
  -help                                    : print usage information
  --help                                   : print usage information
  -?                                       : print usage information
Options (47)
OptionDescriptionSource
-f intSpecifies the first page to convert.help + man
-l intSpecifies the last page to convert.help + man
-oGenerates only the odd numbered pages.help + man
-eGenerates only the even numbered pages.help + man
-singlefileWrites only the first page and does not add digits.help + man
-scale-dimension-before-rotationSwaps horizontal and vertical size for a rotated (landscape) pdf before scaling instead of after.help + man
-r fpSpecifies the X and Y resolution, in DPI.help + man
-rx fp: X resolution, in DPI (default is 150)help + man
-ry fp: Y resolution, in DPI (default is 150)help + man
-scale-to intScales the long side of each page (width for landscape pages, height for portrait pages) to fit in scale-to pixels.help + man
-scale-to-x int: scales each page horizontally to fit in scale-to-x pixelshelp + man
-scale-to-y int: scales each page vertically to fit in scale-to-y pixelshelp + man
-x intSpecifies the x-coordinate of the crop area top left cornerhelp + man
-y intSpecifies the y-coordinate of the crop area top left cornerhelp + man
-W intSpecifies the width of crop area in pixels (default is 0)help + man
-H intSpecifies the height of crop area in pixels (default is 0)help + man
-sz intSpecifies the size of crop square in pixels (sets W and H)help + man
-cropboxUses the crop box rather than media box when generating the fileshelp + man
-hide-annotations: do not show annotationshelp + man
-monoGenerate a monochrome PBM file (instead of a color PPM file).help + man
-grayGenerate a grayscale PGM file (instead of a color PPM file).help + man
-displayprofile stringIf poppler is compiled with colour management support, this option sets the display profile to the ICC profile stored in displayprofilefile.help + man
-defaultgrayprofile stringIf poppler is compiled with colour management support, this option sets the DefaultGray color space to the ICC profile stored in defaultgrayprofilefile.help + man
-defaultrgbprofile stringIf poppler is compiled with colour management support, this option sets the DefaultRGB color space to the ICC profile stored in defaultrgbprofilefile.help + man
-defaultcmykprofile stringIf poppler is compiled with colour management support, this option sets the DefaultCMYK color space to the ICC profile stored in defaultcmykprofilefile.help + man
-sep stringSpecify single character separator between name and page number, default - .help + man
-forcenum: force page number even if there is only one pagehelp + man
-pngGenerates a PNG file instead a PPM file.help + man
-jpegGenerates a JPEG file instead a PPM file.help + man
-jpegcmyk: generate a CMYK JPEG filehelp
-jpegopt stringWhen used with -jpeg, takes a list of options to control the jpeg compression.help + man
-overprint: enable overprinthelp
-tiffGenerates a TIFF file instead a PPM file.help + man
-tiffcompression string: set TIFF compression: none, packbits, jpeg, lzw, deflatehelp + man
-freetype stringEnable or disable FreeType (a TrueType / Type 1 font rasterizer).help + man
-thinlinemode string: set thin line mode: none, solid, shape.help + man
-aa stringEnable or disable font anti-aliasing.help + man
-aaVector stringEnable or disable vector anti-aliasing.help + man
-opw stringSpecify the owner password for the PDF file.help + man
-upw stringSpecify the user password for the PDF file.help + man
-q: don't print any messages or errorshelp + man
-progressPrint progress info as each page is generated.help + man
-vPrint copyright and version information.help + man
-h: print usage informationhelp + man
-help: print usage informationhelp
--help: print usage informationhelp
-?: print usage informationhelp
Exit status (5) from the manual page
0No error.
1Error opening a PDF file.
2Error opening an output file.
3Error related to PDF permissions.
99Other error.

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.