Page 1 of 1

gradient with rgba color with spaces

Posted: 2014-05-21T09:16:41-07:00
by Danack
Hi,

Are spaces meant to be allowed in rgba color strings when making gradients?

I'm seeing different results when I run:

convert -size 400x400 'gradient:red-rgba(0, 0, 255, 0.1)' test_1.png
convert -size 400x400 'gradient:red-rgba(0,0,255,0.1)' test_2.png

Produce the two images:

Image
Image

which are clearly different, and one is what I'd expect, the other not so much.

Re: gradient with rgba color with spaces

Posted: 2014-05-21T09:45:25-07:00
by magick
We can reproduce the problem you posted and have a patch in ImageMagick 6.8.9.2 Beta, available by sometime tomorrow. Thanks.