Page 1 of 1

rectangular gradient

Posted: 2010-10-11T14:57:41-07:00
by xpt
Hi,

What's the simplest way to get a rectangular gradient like this:

Image

Thanks

Re: rectangular gradient

Posted: 2010-10-11T15:02:27-07:00
by xpt
My solution:

Code: Select all

convert -size 106x106 radial-gradient: -negate -gravity center -crop 60x60+0+0 +repage -resize 100x75! gradient_radial.jpg
Good enough?

Re: rectangular gradient

Posted: 2010-10-11T15:18:27-07:00
by fmw42
Yes that would be a reasonable way to make an elliptical gradient from a radial-gradient.