I am converting images from CMYK to sRGB. The command I use is
convert -colorspace sRGB -modulate 110 -quality 100 mona-lisa-cmyk.jpg mona-lisa-srgb.jpg
but the resulting image is too dark. See for example the original:
http://share.hashref.com/tmp/mona-lisa-cmyk.jpg
and the conversion:
http://share.hashref.com/tmp/mona-lisa-srgb.jpg
very different indeed.
I've tried several values for -modulate without luck, but I am not familiar with images and do not really know what else could I tune.
Could anyone help?
colors in CMYK -> sRGB conversion
-
- Posts: 88
- Joined: 2010-06-29T14:36:09-07:00
- Authentication code: 8675308
Re: colors in CMYK -> sRGB conversion
hi ...
if the original image is CMYK as far as I know you should define the colorspace CMYK before , apply whatever operation you need
and then define the RGB colorspace ...
something like:
convert -colorspace CMYK mona_lisa.cmyk.jpg -modulate 110 -colorspace RGB monalisa_rgb.jpg
PS: ( I do not have any image in cmyk so I can not try this) but give it a try ...
if the original image is CMYK as far as I know you should define the colorspace CMYK before , apply whatever operation you need
and then define the RGB colorspace ...
something like:
convert -colorspace CMYK mona_lisa.cmyk.jpg -modulate 110 -colorspace RGB monalisa_rgb.jpg
PS: ( I do not have any image in cmyk so I can not try this) but give it a try ...
Re: colors in CMYK -> sRGB conversion
Thanks, I tried your command but didn't make a difference.
In case you'd like to play around, this image uses CMYK
http://share.hashref.com/tmp/mona-lisa-cmyk.jpg
In case you'd like to play around, this image uses CMYK
http://share.hashref.com/tmp/mona-lisa-cmyk.jpg
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: colors in CMYK -> sRGB conversion
You should get better results using profiles. see http://www.imagemagick.org/Usage/formats/#profiles