Page 1 of 1

WANT Resolution 150 DPI

Posted: 2009-06-15T03:44:18-07:00
by ircoms
goodmorning,
I use imageMagick to convert and reisze to JPEG image format ( 320*240 ) and to increase the resolution 72 ---> 150 dpi can u help me

i use this commande line

convert -density 150 imag.tif resize 240*320 imag.jpeg but still the resolution is not good i want to do 150 dpi

please help me

cordialy

Re: WANT Resolution 150 DPI

Posted: 2009-06-15T05:56:16-07:00
by jpiquemal
Hello
Read first then set density

convert toto.tif -density 150 titi.jpg

Re: WANT Resolution 150 DPI

Posted: 2009-06-15T06:22:57-07:00
by ircoms
thank you i did it but nothing is changed

Re: WANT Resolution 150 DPI

Posted: 2009-06-15T09:39:29-07:00
by fmw42
the option resize needs a minus in front (-resize) also as the other person said, read the image, then -resize, then -density (or see -resample to do both). If you have an old version of IM, then upgrade as it may have problems in these areas.

Re: WANT Resolution 150 DPI

Posted: 2009-06-16T01:41:46-07:00
by ircoms
thank you but still nothing is changed I did this

convert imag.tif -resize 240*320 -density 150 imag.jpeg

Re: WANT Resolution 150 DPI

Posted: 2009-06-16T02:27:32-07:00
by Bonzo
Your * should be a x

Code: Select all

convert imag.tif -resize 240x320 -density 150 imag.jpeg

Re: WANT Resolution 150 DPI

Posted: 2009-06-16T02:31:37-07:00
by ircoms
yes i did it i know it i just write *

thank you

Re: WANT Resolution 150 DPI

Posted: 2009-06-16T10:10:48-07:00
by fmw42
what IM version are you using. perhaps you need to upgrade.

Re: WANT Resolution 150 DPI

Posted: 2009-06-17T00:20:03-07:00
by ircoms
I use ImageMagick-6.5.0-10

Re: WANT Resolution 150 DPI

Posted: 2009-06-17T09:11:09-07:00
by fmw42
That is about 30 versions behind the current one. Perhaps it had a bug that has since been fixed. Recommend upgrading and trying again.

By the way how are you determining that the quality or density is not as good as you want it?