Bug with gradient bounding-box?
Posted: 2018-04-06T07:09:30-07:00
Hi,
I'm trying to create an image with a black to transparent gradient region, which fills only half of the image. I have no problem to obtain the gradient in the left-half of the image, like this:
but I am unable to create the same gradient in the right-half of the image:
It seems that the +x parameter of the bounding-box does not work as expected. I expect e.g. that the gradient region moves 10 pixels to the right using bounding-box=50x200+10+0, but it does not. Am I missing something?
Running Imagemagick 6.9.7.4 on Debian GNU/Linux 9 64bit.
I'm trying to create an image with a black to transparent gradient region, which fills only half of the image. I have no problem to obtain the gradient in the left-half of the image, like this:
Code: Select all
convert -size 100x200 -define gradient:bounding-box=50x200+0+0 gradient:black-none test.png
Code: Select all
convert -size 100x200 -define gradient:bounding-box=50x200+50+0 gradient:black-none test.png
Running Imagemagick 6.9.7.4 on Debian GNU/Linux 9 64bit.