Fred's ImageMagick Scripts
|
Creates a gradient effect at a specific orientation angle. |
last modified: May 30, 2008
|
USAGE: anglegradient widthxheight [-a angle] [-c color ] outfile
widthxheight ................... widthxheight of gradient image PURPOSE: To create a gradient effect at a specific orientation angle. DESCRIPTION: ANGLEGRADIENT creates a gradient effect at a specific orientation angle. ARGUMENTS: widthxheight ... WIDTHxHEIGHT are the dimensions of the gradient image. -a angle ... ANGLE is the orientation angle for the gradient effect. It is specified as a -180<=float<=180 degrees. The default is 0, which will produce the standard vertically oriented gradient. -c color(s) ... COLOR(S) is any valid single or hyphenated IM color including color-color or color-none for a transition from one color to another. If no color is specified, then the normal grayscale will be generated CAVEAT: No guarantee that this script will work on all platforms, nor that trapping of inconsistent parameters is complete and foolproof. Use At Your Own Risk. |
|
Angle Gradient |
|||
|
Arguments: |
Arguments: |
Arguments: |
Arguments: |
|
|
|
|
|
What the script does is as follows:
This is equivalent to the following IM commands
|