WANT Resolution 150 DPI

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
ircoms

WANT Resolution 150 DPI

Post 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
jpiquemal
Posts: 54
Joined: 2003-12-07T01:57:19-07:00

Re: WANT Resolution 150 DPI

Post by jpiquemal »

Hello
Read first then set density

convert toto.tif -density 150 titi.jpg
ircoms

Re: WANT Resolution 150 DPI

Post by ircoms »

thank you i did it but nothing is changed
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: WANT Resolution 150 DPI

Post 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.
ircoms

Re: WANT Resolution 150 DPI

Post by ircoms »

thank you but still nothing is changed I did this

convert imag.tif -resize 240*320 -density 150 imag.jpeg
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: WANT Resolution 150 DPI

Post by Bonzo »

Your * should be a x

Code: Select all

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

Re: WANT Resolution 150 DPI

Post by ircoms »

yes i did it i know it i just write *

thank you
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: WANT Resolution 150 DPI

Post by fmw42 »

what IM version are you using. perhaps you need to upgrade.
ircoms

Re: WANT Resolution 150 DPI

Post by ircoms »

I use ImageMagick-6.5.0-10
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: WANT Resolution 150 DPI

Post 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?
Post Reply