tayabell.blogg.se

Pdfinfo windows
Pdfinfo windows










pdfinfo windows
  1. #Pdfinfo windows pdf
  2. #Pdfinfo windows full

The image resolution will vary with the page size. The -scale-to options may be used to set a fixed image size. For the vector outputs, regions of the page that can not be represented natively in the output format (eg translucency in PS) will be rasterized at the resolution specified by the resolution options.

#Pdfinfo windows pdf

The image dimensions will depend on the PDF page size and the resolution.

pdfinfo windows

The resolution options ( -r, -rx, -ry) set the resolution of the image output formats.

pdfinfo windows

One (and only one) of the output format options ( -png, -jpeg, -tiff, -pdf, -print, -ps, -eps, or -svg) must be used. Not all options are valid with all output formats. If output-file is not used, the output filename will be derived from the PDF-file filename. Using stdout is not valid with image formats unless -singlefile is used. If the output-file is “-”, the output file will be written to stdout. If the PDF-file is “-”, the PDF is read from stdin.

#Pdfinfo windows full

When the output format is a vector format (PDF, PS, EPS, and SVG), output-file is the full filename. When -singlefile is used with the image formats, the file type is appended to output-file. The image formats (PNG, JPEG, and TIFF) generate one file per page with the page number and file type appended to output-file. Pdftocairo reads the PDF file, PDF-file, and writes to output-file. Pdftocairo converts Portable Document Format (PDF) files, using the cairo output device of the poppler PDF library, to any of the following output formats:

  • Convert to PNG cropping x and y pixels from the top-left corner: pdftocairo path/to/file.pdf -png -x x_pixels -y y_pixels.
  • Convert to grayscale TIFF setting paper size to A3: pdftocairo path/to/file.pdf -tiff -gray -paper A3.
  • Convert to PNG with 200ppi resolution: pdftocairo path/to/file.pdf output.png -png -r 200.
  • Convert to SVG specifying the first/last page to convert: pdftocairo path/to/file.pdf output.svg -svg -f first_page -l last_page.
  • Convert to PDF expanding the output to fill the paper: pdftocairo path/to/file.pdf output.pdf -pdf -expand.
  • Convert a PDF file to JPEG: pdftocairo path/to/file.pdf -jpeg.
  • Portable Document Format (PDF) to PNG/JPEG/TIFF/PDF/PS/EPS/SVG using cairo Examples (TL DR)












    Pdfinfo windows