M: How can I figure out the DPI of a PDF? Remember, on fedora Linux
G: You can determine the DPI of a
PDF in Fedora Linux using pdfimages (from
poppler-utils) or identify (from
ImageMagick).
pdfimagespdfimages extracts images from the PDF and provides
their resolution. Run:
pdfimages -list file.pdfThis will output a table including x-ppi and
y-ppi, which are the DPI values.
identify (ImageMagick)If the PDF consists of rasterized pages, you can check the DPI by converting it to an image:
identify -density 300 file.pdfReplace 300 with your assumed DPI. The output will
include resolution details.
Would you like to check DPI for embedded images or the entire document as a whole?