Hi,
When I convert attached tiff file to jpg mentioning color-space as RGB, its shade changes from brownish to greenish. It produces expected output when we don't pass color-space or keep it 'CMYK', source file is of CMYK type but I am looking for an RGB output.
Command :
convert.exe "Sample.tif" "Output_Default.jpg"
convert.exe "Sample.tif" -colorspace RGB "Output_RGB.jpg"
convert.exe "Sample.tif" -colorspace CMYK "Output_CMYK.jpg"
ImageMagick version: I am using 6.9.2.6 (but it's reproducible with latest version 6.9.9-50 as well)
Environment (Operating system, version and so on): Windows 7, Windows Server 2012
https://drive.google.com/open?id=1fpWkC ... YqAMCtZuLF
Thanks
Image shade changes while converting a tiff to jpg with RGB colorspace
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Image shade changes while converting a tiff to jpg with RGB colorspace
"RGB" means linear RGB. I guess you really want "sRGB" (which is non-linear).
snibgo's IM pages: im.snibgo.com
Re: Image shade changes while converting a tiff to jpg with RGB colorspace
Thanks @snibgo for reply ... but sRGB is producing same output as RGB for this file.
I understand RGB is linear but technically don't you think it's a bug ? Even though source file is CMYK isn't ImageMagick supposed to retain original colors while converting it to JPG with RGB colorspace ? I thought that was a valid expectation, and here there is a big difference in the shade, it's not even close.
I understand RGB is linear but technically don't you think it's a bug ? Even though source file is CMYK isn't ImageMagick supposed to retain original colors while converting it to JPG with RGB colorspace ? I thought that was a valid expectation, and here there is a big difference in the shade, it's not even close.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Image shade changes while converting a tiff to jpg with RGB colorspace
-colorspace sRGB works fine for me with your image on IM 6.9.9.50 Q16 Mac OSX. The result is quite different from -colorspace RGB.
Nevertheless, you would get better results converting using profiles.
Nevertheless, you would get better results converting using profiles.