Page 1 of 1

How to change resolution without resampling an image ?

Posted: 2007-06-23T17:29:28-07:00
by batmax2
Suppose, I have to change resolution of an image file from 300dpi to 600dpi and "print size" of that image must shrink exactly twice. No interpolation needed!
How can one do that with ImageMagick ?

Re: How to change resolution without resampling an image ?

Posted: 2007-06-26T18:09:02-07:00
by anthony
use -density AFTER reading the image and before writing the image.

Hmmm prehaps that should be -set density
Not sure. Some programs ignore the normal image density setting, and only use density setting provided by profile info. photoshop comes to mind for this!

Re: How to change resolution without resampling an image ?

Posted: 2007-07-03T10:18:52-07:00
by batmax2
Yes, Antony, y're right. And why option -density does not work correctly, i.e. with these special profiles ? That's another question to IM authors...

Re: How to change resolution without resampling an image ?

Posted: 2007-07-03T19:48:22-07:00
by anthony
The problem is I believe is lack of information on the photoshop metadata profile.