CMYK jpeg -thumbnail giant filesize

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
jsd
Posts: 2
Joined: 2011-02-14T15:02:37-07:00
Authentication code: 8675308

CMYK jpeg -thumbnail giant filesize

Post by jsd »

So, I've got a pretty large CMYK jpeg:
http://cf.shacknews.com/shack_images/boxart/145745e.jpg

I am trying to convert it to a 110x156 thumbnail. Using the following command line:
convert 145745e.jpg -colorspace RGB -thumbnail '110x156^' -gravity center -crop 110x156+0+0 test.jpg

On my Mac, which is running an older version of ImageMagick ("Version: ImageMagick 6.5.3-7 2009-06-14 Q16 OpenMP http://www.imagemagick.org"), I get a reasonable 16KB thumbnail.

On our Linux server, running a much more recent repository version ("Version: ImageMagick 6.6.3-9 2010-09-01 Q16 http://www.imagemagick.org"), I get an unreasonable 590KB output file. Same command line.

Any ideas what's going on here?

[EDIT: I just built the latest version of ImageMagick (6.6.7-7) from source on a virgin Linux box and I get the same results - 590KB.]
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: CMYK jpeg -thumbnail giant filesize

Post by magick »

Add -strip to your command line to delete profiles and comments.
jsd
Posts: 2
Joined: 2011-02-14T15:02:37-07:00
Authentication code: 8675308

Re: CMYK jpeg -thumbnail giant filesize

Post by jsd »

magick wrote:Add -strip to your command line to delete profiles and comments.
That fixed it. Was that the default in the earlier versions or something?
Post Reply