[magick-users] gradient to transparency

Christoph P. Kukulies kuku at kukulies.org
Fri Apr 11 12:15:53 PDT 2008


Great! 
Many thanks.

--
Chris Christoph P. U. Kukulies 

> 
> convert \( -size 100x100 gradient:red \) \
> 	\( +clone -colorspace Gray -gamma 1.0 \) \
> 	+matte -compose Copy_Opacity -composite out.png
> 
> If you want to take an existing color gradient and place it over 
> another image, then try something like
> 
> convert backgroundimage \
> 	\( gradientimage -colorspace Gray -gamma 1.0 \) \
> 	+matte -compose Copy_Opacity -composite out.png
> 


More information about the Magick-users mailing list