How to change DPI of a PDF file with several pages?

Started by artofit, June 09, 2017, 02:05:28 PM

Previous topic - Next topic

artofit

Hello,

I have a pdf with several pages, I want to change the dpi for this pdf
E:\Attachments-31>C:\exiftool -XResolution=288 -YResolution=288 "CCLS.pdf"
Error: Invalid xref table - CCLS.pdf
    0 image files updated
    1 files weren't updated due to errors


Thanks

Phil Harvey

I don't think that ExifTool will do this for you.  I don't even know how to do this for a PDF file.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Stephen Marsh

Sounds like a "Photoshop PDF"...

exiftool -v -Photoshop:XResolution='36' -Photoshop:YResolution='36' -IFD0:XResolution='36' -IFD0:YResolution='36' -IFD1:XResolution='36' -IFD1:YResolution='36'  'MAC OS PATH TO FILE or DIR'

Of course, it is not that easy, if only this was say a PSD file!

Rewriting FILE.pdf...
  Editing tags in: IFD0 IFD1 Photoshop
  Rewriting XMP
Nothing changed in FILE.pdf
    0 image files updated
    1 image files unchanged


As ExifTool can't write to these tags in a PDF:

http://www.exiftool.org/TagNames/PDF.html