gradient with rgba color with spaces

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
Danack
Posts: 73
Joined: 2013-10-14T10:00:25-07:00
Authentication code: 6789

gradient with rgba color with spaces

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: gradient with rgba color with spaces

Post 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.
Post Reply