Page 1 of 1

Resolution change

Posted: 2009-11-19T06:12:39-07:00
by sikaniska
Hi,

I am new to IM so sorry if this is too easy for you. :D

I would like to change resolution in a image file to 220 ppi. But I would like to do it in a way that doesn't change the image data. I also need the image not to change it's filename.

I tried

Code: Select all

convert -density 220 image.jpg image.jpg
but that results in repackaged jpg.

Is there a way to just change the resolution info without touching the image data?

Thanks,
-kimmo

Re: Resolution change

Posted: 2009-11-19T11:59:40-07:00
by fmw42
I don't believe that you can do that with IM. You will need to find some other tool.

Re: Resolution change

Posted: 2009-11-23T00:52:45-07:00
by sikaniska
Ok. Thanks for the info.

-kimmo

Re: Resolution change

Posted: 2009-11-24T17:04:34-07:00
by anthony
You could try other more format specific tools, like jhead