Re: "transition" blending adjacent blocks of gray
Fred Weinhaus <[email protected]>
| Newsgroups | gmane.comp.video.image-magick.user |
|---|---|
| Message-ID | <p06240800c860ed7132c8@[192.168.1.2]> |
>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