Wrong colours when converting TIFF image 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
saravanan
Posts: 1
Joined: 2013-10-23T04:16:34-07:00
Authentication code: 6789

Wrong colours when converting TIFF image to PNG

Post by saravanan »

Hi

I am using ImageMagick 6.6.9-7 version for converting tiff format images to png format using command line.
While converting the below mention sample.tif image to png format, blue color changed to green color from the sample.tif file.
Even if i tried to convert tiff to any format (png/jpg/pdf/tiff), result is the same.
Problem image [ https://s3.amazonaws.com/sampleimages/sample.tif ] for your reference, so please help me to solve this problem.

Thanks
T.Saravanan
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Wrong colours when converting TIFF image to PNG

Post by fmw42 »

First this post should have been made to the Users forum, if you are just using command line.

Your image converts just fine for me under IM 6.8.7.3 Q16 Mac OSX

convert sample.tif sample.png

Perhaps you old version of IM (about 175 versions old) has a bug or perhaps your install is corrupted or perhaps your libtiff or libpng are old.

Perhaps you should try upgrading to the latest version of IM.
Post Reply