"Christoph P. Kukulies" on wrote...
| I'm seeking for a general solution to allow for producing gradients
| from color to transparency either linearly or (even better) after
| some function (exp or other).
|
| Reason behind is producing shadows for images or weblayouts over
| their respective background image so that I get a smooth
| transition from some opaque shadow to transparency.
|
| Thanks a lot in advance.
|
A vertical linear one is easy...
convert -size 100x100 gradient:firebrick-none gradient_trans.png
Others are harder and may need either special generation or further
processing depending on what you want. such as what fred gave you in his
response.
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
"Good programmers write readable code."
"Yeah, but REALLY good programmers can read MY code."
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users