Page 1 of 1
Convert 300 dpi image to 72 dpi but maintain original WxH
Posted: 2011-04-08T15:17:36-07:00
by jburkhart68
With the following comand I am trying to flatten a 300 dpi psd file and set resolution to 72 dpi.
-flatten -units pixelsperinch -density 72 filename.tif
I seem to be missing somethng but not sure what it is. I get a tif file ok but the size is still 300 dpi.
Thanks,
Jeff
Re: Convert 300 dpi image to 72 dpi but maintain original Wx
Posted: 2011-04-09T22:10:55-07:00
by anthony
Photoshop stores its 'density' in a different place to the normal position for TIFF file formats. Try stripping the TIFF of extra profiles. (using
-strip)
See the note for TIFF file format
http://www.imagemagick.org/Usage/formats/#tiff
Re: Convert 300 dpi image to 72 dpi but maintain original Wx
Posted: 2011-04-11T08:50:04-07:00
by jburkhart68
Using -strip gives me the correct resolution. Now I need to constrain the proportions so that the demensions do no change. Trying to create a fpo for highrez replacement.
Thanks for the help,
Jeff
Re: Convert 300 dpi image to 72 dpi but maintain original Wx
Posted: 2011-04-11T10:14:31-07:00
by jburkhart68
-strip is not going to work for me either. It removes the clipping path that I need to have included with the output file. arrg
Re: Convert 300 dpi image to 72 dpi but maintain original Wx
Posted: 2011-04-11T18:06:54-07:00
by anthony
jburkhart68 wrote:Using -strip gives me the correct resolution. Now I need to constrain the proportions so that the demensions do no change. Trying to create a fpo for highrez replacement.
Good the command you want to resize the image to the correct density at the same REAL WORLD dimensions, is
-resample
See
http://www.imagemagick.org/Usage/resize/#resample