Circular Colour Gradient limited to a Circular Area
Posted: 2012-08-17T00:25:15-07:00
I haven't worked with transpareny a lot so far, so this question might have a simple answer. I would like to create a circular gragient from, say, yellow to red as described in http://www.imagemagick.org/Usage/canvas ... l-gradient. I would like to place the resulting image over the centre of another, larger image (to simulate the laser aiming device of a speed trap).
The overlay should however consist of a circular area rather than a circle surrounded by a square. So far, I get along with creating a circular gradient with transparency and overlaying this to the final image. But this is not quite what I am trying to achive.
The overlay should however consist of a circular area rather than a circle surrounded by a square. So far, I get along with creating a circular gradient with transparency and overlaying this to the final image. But this is not quite what I am trying to achive.