Weird Adobe JPEG CMYK images?

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
Unipaasi

Weird Adobe JPEG CMYK images?

Post by Unipaasi »

I have a long list of some kind of Adobe JPEG CMYK files. Problem with these is that file sizes are very big and i can't figure out how to fix that.

Example file can be found here:

http://lh5.ggpht.com/_1lhGGmn9Xxs/S3UnZ ... 710006.jpg

Quality is 86. I have tried to -colorspace RGB, but it doesn't seem to fix size problem.

Any ideas?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Weird Adobe JPEG CMYK images?

Post by snibgo »

-strip will remove profiles etc:

Code: Select all

convert 710006.jpg -strip -quality 50 x.jpg
Adjust quality parameter to suit.
snibgo's IM pages: im.snibgo.com
Unipaasi

Re: Weird Adobe JPEG CMYK images?

Post by Unipaasi »

Thanks Snibgo! You saved my day.

Code: Select all

mogrify -strip *.jpg
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Weird Adobe JPEG CMYK images?

Post by snibgo »

Pleasure. Of course, blindly stripping out the profile does change the colour slightly.
snibgo's IM pages: im.snibgo.com
Post Reply