bug report: hex color codes in fx expressions

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.
Locked
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

bug report: hex color codes in fx expressions

Post by RetroJ »

This works:

Code: Select all

convert -size 100x100 xc:  -fx "#cccccc" x:
But this produces an error:

Code: Select all

convert -size 100x100 xc:  -fx "#cccc6c" x:
convert: unable to parse expression `#cccc6'.
Numbers in hex codes break parsing.

Using Imagemagick 6.3.0 11/07/06 Q16 with Debian.

Locked