On Mon, Jul 12, 2010 at 09:04:39AM -0700, Fred Weinhaus wrote:
> >How can I take a 100x100 light gray square, overlap it by 20 pixels with
> >a 100x100 dark gray square, and have a smooth transition between the two
> >shades of gray.  I don't want the 20x100 pixel transition to be medium
> >gray, I want it to smoothly transistion from light to dark gray.
> 
> 
> 
> convert -size 100x100 xc:"gray(25%)" gray1.png
> convert -size 100x100 xc:"gray(75%)" gray2.png
> 
> convert gray1.png[80x100+0+0] \( -size 100x20 
> gradient:"gray(75%)-gray(25%)" -rotate 90 \) gray2.png[80x100+0+0] 
> +append gray_gradient.png

Thanks everyone for all the good advice on this thread.  I'm on vacation
right now, but will test out all the suggestions and report back.

-Rob
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to