List Info

Thread: Black and white drawing not working.




Black and white drawing not working.
user name
2006-05-23 16:00:19
I have a rather simple command that doesn't works:

/usr/bin//convert -size 115x200 xc:white -fill black -draw
'rectangle 76 10
112 196' /tmp/test.tiff

I expected a white image with a black rectangle inside it.
It creates a
completely transparent image.

If I change to a pbm output

/usr/bin//convert -size 115x200 xc:white -fill black -draw
'rectangle 76 10
112 196' /tmp/test.pbm

it segfaults.

If I change either the white or the black to any other
color, it works. If I
remove the -draw it works (it creates a completely white
image).

This has been confirmed in ImageMagick 6.2.7 and 6.2.5.

# convert --version
Version: ImageMagick 6.2.7 05/23/06 Q16 http://www.imagemagick.org

Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC

I am running Gentoo Linux:

# cat /proc/version
Linux version 2.6.16-gentoo-r7 (rootfellini) (gcc version 3.4.5
(Gentoo
3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)) #1 Wed May 10 10:05:19
BRT 2006

# ldconfig -V
ldconfig (GNU libc) 2.3.6

It seems to be an easibily reproductible bug. Please let me
know if any
other info is necessary.


Rodrigo Severo
_______________________________________________
Magick-bugs mailing list
Magick-bugsimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-
bugs
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )