Page 1 of 1
Possible bug in creating TIFF with 4 colours
Posted: 2011-03-14T15:54:01-07:00
by yecril71pl
The result is useless: black vertical stripes, the image is displaced and cropped.
(Version: 6.6.7.9, openSUSE 11.4 x64)
Re: Possible bug in creating TIFF with 4 colours
Posted: 2011-03-14T16:14:00-07:00
by fmw42
I get a similar result on IM 6.6.8.4 Q16 Mac OSX Tiger (with or without +dither).
Re: Possible bug in creating TIFF with 4 colours
Posted: 2011-03-21T11:08:56-07:00
by yecril71pl
A simpler test case:
Code: Select all
convert -size 100x400 canvas:red canvas:green +append canvas:blue +append -type Palette c4.tiff
The result is just red
I tried smaller sizes; 4x12 is all right but 8x24 turns all red.
Re: Possible bug in creating TIFF with 4 colours
Posted: 2011-03-21T11:16:44-07:00
by magick
Must be a Mac OS thing-- your conversion works fine under Linux. We'll check it out under Mac OS X when we get a chance.
Re: Possible bug in creating TIFF with 4 colours
Posted: 2011-03-21T11:48:53-07:00
by fmw42
Note his original post was on (Version: 6.6.7.9, openSUSE 11.4 x64), so not just a Mac issue.
However, this works fine for me on Mac OSX Tiger IM 6.6.8.5 Q16
convert -size 100x400 canvas:red canvas:green +append canvas:blue +append -type Palette c4.tiff
and so does this from the original post:
convert logo: -colors 4 logo.tiff
(no stripes)
So it somehow got fixed between 6.6.8.4 and 6.6.8.5
Re: Possible bug in creating TIFF with 4 colours
Posted: 2011-03-23T12:55:49-07:00
by yecril71pl
The result is correct with 6.6.8-5, custom built for TIFF support exclusively.