CmdID

CmdID / Commands

pdftocairo

Convert PDF files to PNG/JPEG/TIFF/PDF/PS/EPS/SVG using cairo. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Convert a PDF file to JPEG

pdftocairo path/to/file.pdf -jpegIdentify

Convert to PDF expanding the output to fill the paper

pdftocairo path/to/file.pdf output.pdf -pdf -expandIdentify

Convert to SVG specifying the first/last page to convert

pdftocairo path/to/file.pdf output.svg -svg -f first_page -l last_pageIdentify

Convert to PNG with 200ppi resolution

pdftocairo path/to/file.pdf output.png -png -r 200Identify

Convert to grayscale TIFF setting paper size to A3

pdftocairo path/to/file.pdf -tiff -gray -paper A3Identify

Convert to PNG cropping x and y pixels from the top-left corner

pdftocairo path/to/file.pdf -png -x x_pixels -y y_pixelsIdentify