Page 1 of 1

[SOLVED] gray50 pattern is turquoise or red

Posted: 2012-04-03T09:20:38-07:00
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.)

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

Posted: 2012-04-03T11:04:44-07:00
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".

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

Posted: 2012-04-03T13:31:05-07:00
by magick
Give us a fews days and we will have a patch. Thanks.

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

Posted: 2012-04-11T07:43:11-07:00
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)

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

Posted: 2012-04-11T08:47:17-07:00
by magick
Try gray50 instead of black50.

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

Posted: 2012-04-11T09:29:03-07:00
by NicolasRobidoux
I suck.

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

Posted: 2012-05-23T17:02:15-07:00
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.

Re: gray50 pattern is turquoise instead of gray

Posted: 2012-05-23T17:42:39-07:00
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.