[SOLVED] gray50 pattern is turquoise or red

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

[SOLVED] gray50 pattern is turquoise or red

Post by NicolasRobidoux »

Code: Select all

magick -size 10x10 pattern:gray50 checks_10.gif
produces a turquoise on white checkerboard, instead of a black on white checkerboard.

P.S. There was a typo above: I originally had black50 instead of gray50.

References RE: expected behavior:
http://www.imagemagick.org/Usage/resize/#point
http://www.imagemagick.org/Usage/resize/checks_10.gif

~/ImageMagick/bin/identify -version
Version: ImageMagick 7.0.0-0 2012-03-29 Q16 http://www.imagemagick.org

Compiled from source using
./configure CFLAGS="-fopenmp -fomit-frame-pointer -O2 -Wall -march=native -pthread" CXXFLAGS="-O2 -pthread" --prefix=/home/nicolas/ImageMagick

Linux Mint 12 64-bit.

(I'll try to install the latest and compile with "plain" flags soon.)
Last edited by NicolasRobidoux on 2012-05-24T07:55:52-07:00, edited 5 times in total.
NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: 7.0.0 bug? gray50 pattern is turquoise instead of gray

Post by NicolasRobidoux »

Still turquoise with

Version: ImageMagick 7.0.0-0 2012-04-03 Q16 http://www.imagemagick.org

based on the current 7.0.0 alpha, with my funky configure flags.

Now, I'll configure "plain".
Last edited by NicolasRobidoux on 2012-04-03T14:07:38-07:00, edited 1 time in total.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: 7.0.0 bug? gray50 pattern is turquoise instead of gray

Post by magick »

Give us a fews days and we will have a patch. Thanks.
NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: 7.0.0 bug? gray50 pattern is turquoise instead of gray

Post by NicolasRobidoux »

FYI:
This morning's svn:
magick -size 10x10 pattern:black50 checks_10.gif
magick: unrecognized image format `black50' @ error/pattern.c/ReadPATTERNImage/980.
(I understand IM is going through huge changes. NNTR)
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: 7.0.0 bug? gray50 pattern is turquoise instead of gray

Post by magick »

Try gray50 instead of black50.
NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: 7.0.0 bug? gray50 pattern is turquoise instead of gray

Post by NicolasRobidoux »

I suck.
NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: [SOLVED] gray50 pattern is turquoise instead of gray

Post by NicolasRobidoux »

This appears to be broken again:

Code: Select all

magick -size 10x10 pattern:gray50 checks10.png
magick -size 10x10 pattern:gray50 checks10.gif
produce black on red checkerboards.
Today's svn.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: gray50 pattern is turquoise instead of gray

Post by magick »

We can reproduce the problem you posted and have a patch. Look for it in the Subversion trunk and ImageMagick-7.0.0-0 Alpha by sometime tomorrow. Thanks.
Post Reply