Copyright © Fred Weinhaus My scripts are available free of charge for non-commercial (non-profit) use, ONLY. For use of my scripts in commercial (for-profit) environments or non-free applications, please contact me (Fred Weinhaus) for licensing arrangements. My email address is fmw at alink dot net. If you: 1) redistribute, 2) incorporate any of these scripts into other free applications or 3) reprogram them in another scripting language, then you must contact me for permission, especially if the result might be used in a commercial or for-profit environment. Usage, whether stated or not in the script, is restricted to the above licensing arrangements. It is also subject, in a subordinate manner, to the ImageMagick license, which can be found at: http://www.imagemagick.org/script/license.php Please read the Pointers For Use on my home page to properly install and customize my scripts. |
Creates a radial gradient image. |
last modified: December 15, 2018
USAGE: radialgradient WidthxHeight [-d diameters] [-c center] [-C colors] outfile
....... WidthxHeight .... width and height of desired output image PURPOSE: To create a radial gradient image. DESCRIPTION: RADIALGRADIENT create a radial gradient image. The user can specify the x and y diameters and the x and y center coordinates. Nominally, the center will be black and increase in brightness to white at the radii (half diameters) from the center. ARGUMENTS: WidthxHeight ... WIDTHxHEIGHT is the desired sized of the output image. -d diameters ... DIAMETERS are the x and y diameters for the radial gradient. Values are floats>=0. The default=Width,Height. -c center ... CENTER is the x and y center coordinates for the radial gradient. Values are floats>=0. The default=Width/2,Height/2. -C colors ... COLORS are the inner and outer limit colors of the radial gradient. They are specified as a hyphen separate pair of valid IM colors. The default="black-white". Be sure to enclose them in quotes. 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. |
Simple Radial Gradients |
|||
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Other Radial Gradients |
||
Arguments: |
Arguments: |
Arguments: |
What the script does is as follows:
This is equivalent to the following IM commands for a simple black-white radial gradient.
|