I want to change the DPI of an image, but it doesnt seem to be working.
I don't want to change the number of pixels, just the size that it's rendered at, so im using -density not -resample. However:
Code: Select all
$ identify -format "%x x %y" img_0359.jpg
180 PixelsPerInch x 180 PixelsPerInch
$ mogrify -density 72x72 img_0359.jpg
$ identify -format "%x x %y" img_0359.jpg
180 PixelsPerInch x 180 PixelsPerInch
The mogrify must be doing something, because if I load it into the GIMP it says the resolution is 72x72, but previewer on the Mac shows 180x180, and an 'identify -verbose' shows 180x180 and no mention of 72x72 anywhere.
Ive tried it on several images from several sources, all the same result. Ive stripped out any profile that might be used by Photoshop just in case.
Am I making some fundamental mistake?
thanks