tif to jpg convert with lesser size

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
user08/15
Posts: 1
Joined: 2013-02-15T06:16:18-07:00
Authentication code: 6789

tif to jpg convert with lesser size

Post by user08/15 »

Hi Everybody,

I am very new to imagemagick and I want to convert my CMYK (24Bit) tif-image to a jpg-RGB-image.

I have tried some options but the result is not enough.

following options I am using

-density 72 -colorspace RGB -quality 85% -type optimize -resize 500x500

but the Image is still 34 kb now. By using Gimp the converted image can be reduced to 11 kb.
Original size was 690kb and I want to optimize this image for web usage.

How can I decrease the size by imagemagick to get an 11 kb small image ?
It seems that density has not the effect I want to. I want to reduce dpi from 300 to 72
but this is still 300.

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

Re: tif to jpg convert with lesser size

Post by fmw42 »

What version of IM and what platform? Depending upon version you may need -colorspace sRGB if on a current version of IM

Try adding -type palette or -colors 256

and see if that helps.
Post Reply