Problem with colors when converting from TIF to PNG

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
smiroslav
Posts: 1
Joined: 2015-03-11T06:38:28-07:00
Authentication code: 6789

Problem with colors when converting from TIF to PNG

Post by smiroslav »

Hi all,

I have problem using ImageMagic (ImageMagick 6.9.0-10 Q16 x86_64 2015-03-10) and hope that you can help me. Issue is that colors in converted images do not match ones in original image.
Command that I was using is

Code: Select all

convert  testimage.tif  -quiet -strip -thumbnail 1280x1280 -quality 90 -depth 8   convert_testimage.png
Following instructions that I have found in other threads, I tried setting different options for -colorspace and -profile but no success.

Original image and converted one you can find here
https://www.dropbox.com/sh/scfr6x6athdi ... SbNJa?dl=0

Thanks for help.

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

Re: Problem with colors when converting from TIF to PNG

Post by snibgo »

smiroslav wrote:Issue is that colors in converted images do not match ones in original image.
testimage.tif is CMYK, with a profile. Have you printed it, on the correct paper, and are you comparing that with an IM sRGB screen image? If not, what are you comparing?

You "-strip" the profile. Why? Why not convert to an sRGB profile (assuming you want sRGB)?
snibgo's IM pages: im.snibgo.com
Post Reply