Re: we cannot display tiff file correctly.

Anton Shterenlikht <[email protected]> Fri, 10 Jun 2011 11:19:20 +0100
Newsgroups gmane.comp.video.image-magick.bugs
Message-ID <[email protected]>
On Mon, Jun 06, 2011 at 05:40:37PM +0900, ?$BNS ?$BCR;R wrote:
> Dir Sir,
> 
> We compiled ImageMagick-6.7.0-3 with tiff-3.9.5 and jpeg-8b on
> Solaris 10(x86) and Mac OS X 10.6.7.
> 
> convert test.ppm test.jpeg ... ok
> convert test.jpeg test.tiff  ..
> 
> The created file test.tiff or display command seem to have 
> the following problems:
> 
> % display test.tiff 
>     indicates wrong color, blue and green are exchaned.
> 
> Other image viewers can display test.tiff with correct color.
> Some image viewer on Solaris can not open test.tiff, while the image
> viewers can handle other tiff image files.
> 
> Here's our report:
>  http://web-ext.u-aizu.ac.jp/~takafumi/magickbugs/index.html
> 

I can reproduce the problem.
In addition, for me "display test.tiff" shows
that yellow and purple are swapped as well.
(It might or might not be relevant that originally
yellow is below blue, and purple is below green.
So it's as if the second and the third columns
of squares are swapped.)

This is with ImageMagick-6.7.0.2, jpeg-8_3, tiff-4.0.0
on FreeBSD ia64 9.0-CURRENT #3 r221488: Thu May  5 12:39:44 BST 2011

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423