Page 1 of 1

ImageMagick: Color problems converting TIFF

Posted: 2013-12-04T11:24:11-07:00
by hknight
Source Image: https://zuhqtr5.couchappy.com/test/im/image.tif

Code: Select all

convert image.tif -thumbnail 150x250 image.jpg 
The resulting image should look like this:
Image
But it incorrectly returns this:
Image

Here is the source image: https://zuhqtr5.couchappy.com/test/im/image.tif

Re: ImageMagick: Color problems converting TIFF

Posted: 2013-12-04T12:12:14-07:00
by snibgo
Your links need username and password. Please put them somewhere that doesn't need username and password.

It might also help is you say what version of IM and platform you are using.

Re: ImageMagick: Color problems converting TIFF

Posted: 2013-12-04T12:55:49-07:00
by hknight
Thank you for pointing out the permissions issue. The images are now accessible.

I use ImageMagick-6.8.7-8-Q16-x64-dll.exe (Win64 dynamic at 16 bits-per-pixel)

Re: ImageMagick: Color problems converting TIFF

Posted: 2013-12-04T15:27:12-07:00
by fmw42
Your tif is CMYK and many browsers do not display CMYK jpeg properly. So convert the tiff to sRGB using profiles and that works for me in IM 6.8.7.8 Q16 Mac OSX

convert image.tif -profile /Users/fred/images/Profiles/USWebCoatedSWOP.icc -profile /Users/fred/images/Profiles/sRGB.icc -thumbnail 150x250 image.jpg

Re: ImageMagick: Color problems converting TIFF

Posted: 2013-12-04T19:13:05-07:00
by hknight

Code: Select all

convert image.tif -profile /Users/fred/images/Profiles/USWebCoatedSWOP.icc -profile /Users/fred/images/Profiles/sRGB.icc -thumbnail 150x250 image.jpg
Returns this error:

Code: Select all

convert image.tif -profile /Users/fred/images/Profiles/USWebCoatedSWOP.icc -profile /Users/fred/images/Profiles/sRGB.icc -thumbnail 150x250 image.jpg
convert: unable to open image `/Users/fred/images/Profiles/USWebCoatedSWOP.icc': No such file or directory @ error/blob.c/OpenBlob/2617.
convert: unable to open file `/Users/fred/images/Profiles/USWebCoatedSWOP.icc': No such file or directory @ error/blob.c/FileToBlob/940.
convert: unable to open image `/Users/fred/images/Profiles/sRGB.icc': No such file or directory @ error/blob.c/OpenBlob/2617.
convert: unable to open file `/Users/fred/images/Profiles/sRGB.icc': No such file or directory @ error/blob.c/FileToBlob/940.

Re: ImageMagick: Color problems converting TIFF

Posted: 2013-12-04T19:43:29-07:00
by fmw42
You have to use your own path to your profiles, not mine. Find or download icc or icm profiles of the same names to your system and put the full path to them in your command.

see
http://www.color.org/srgbprofiles.xalter
https://github.com/nicolasfranck/Grim/b ... edSWOP.icc
http://www.adobe.com/support/downloads/ ... ftpID=4075
http://www.mattbeals.com/icc/