Search found 3 matches

by MaximeLemanissier
2013-06-05T08:16:26-07:00
Forum: Users
Topic: CMYK->sRGB conversion fails without any error
Replies: 4
Views: 3721

Re: CMYK->sRGB conversion fails without any error

Shouldn't IM fail with an error message and return code different from 0 when asking a profile conversion that isn't / can't be done?

OK, I've found some clues why it should not

If the image does not contain an embedded profile then the first -profile option is used to specify the source color ...
by MaximeLemanissier
2013-06-05T07:58:07-07:00
Forum: Users
Topic: CMYK->sRGB conversion fails without any error
Replies: 4
Views: 3721

Re: CMYK->sRGB conversion fails without any error

With the CMYK image that gets correctly converted:
identify -verbose /data/iprod/imagesToConvert/7853680641.jpg | grep -i profile
Profiles:
Profile-8bim: 12804 bytes
Profile-exif: 5461 bytes
Profile-icc: 557168 bytes
Profile-iptc: 7 bytes
Profile-xmp: 4030 bytes

With the CMYK image that is ...
by MaximeLemanissier
2013-06-05T05:24:52-07:00
Forum: Users
Topic: CMYK->sRGB conversion fails without any error
Replies: 4
Views: 3721

CMYK->sRGB conversion fails without any error

Hi all,

I'm using IM to convert CMYK images to sRGB with this command line:
convert input.jpg -profile sRGB_v4_ICC_preference.icc output.jpg
The ICC profile comes from http://www.color.org/srgbprofiles.xalter

On some images, the conversion produces an image that is still a CMYK.
Here is an ...