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. |
Applies a starburst pattern to an image. |
last modified: December 15, 2018
USAGE: starburst [-r radius] [-g glow] [-c center] [-k contrast] [-t tcolor] [-b bcolor] [-f fcolor] [-a angle] [-n newseed] [-s size] [infile] outfile
-r .... radius ........... maximum radius of the starburst pattern; PURPOSE: To apply a starburst pattern to an image. DESCRIPTION: STARBURST applies a radial starburst pattern to an image a given center, radius and glow amount. The user can also control the coloring, contrast and rotation of the starburst pattern. If no input image is provided the script will create an image of the desired size. ARGUMENTS: -r radius ... RADIUS is the maximum radius of the starburst pattern. Values are integers>0. The default is one third of the minimum dimension of the image. -g glow ... GLOW is the radious of inner glow area of the starburst as a percentage of the radius parameter. Values are integers in the range 0<=glow<=100. The default=50. -c center ... CENTER=cx,cy are the comma separated coordinates in the image determining the center of the halo. Values are integers>=0. The default is the center of the input image or size specified for the output image. -k contrast ... CONTRAST is the percent contrast change for the starburst pattern. Values are positive or negative integers. The default=0. -t tcolor ... TCOLOR is the tint color for the starburst. The default=white. Any valid IM color is allowed. See http://imagemagick.org/script/color.php -f fcolor ... FCOLOR is the foreground color for the starburst. The default=white. Any valid IM color is allowed. See http://imagemagick.org/script/color.php -b bcolor ... BCOLOR is the background color for the starburst when no input image is provided. The default=black. Any valid IM color is allowed. See http://imagemagick.org/script/color.php -a angle ... ANGLE is the clockwise rotation angle for the starburst pattern. Values are integers such that 0<=angle<=360. The default=0. -n newseed ... NEWSEED is the seed value for the random starburst pattern. Values are integers>0. The default is a different pattern each time. -s size ... SIZE is the WIDTHxHEIGHT of the desired output image if no input image is specified. Any value supplied will be ignored if an input image is specified. NOTE: The concept and initial example were developed by Anthony Thyssen. See http://www.imagemagick.org/Usage/advanced/#radial_flares. This script is an elaboration on Anthony's original example. NOTE: Requires IM 6.4.2-8 or higher due to the use of -distort polar/depolar. 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. |
No Input Image --- Variation In Radius |
||
Arguments: |
Arguments: |
Arguments: |
No Input Image --- Variation In Glow |
||
Arguments: |
Arguments: |
Arguments: |
No Input Image --- Variation In Contrast |
|||
Arguments: |
Arguments: |
Arguments: |
Arguments: |
No Input Image --- Variation In Colors |
||||
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
No Input Image --- Variation In Angle |
Arguments: |
Starburst On Background Image |
|
Original | |
Arguments: |
Arguments: |
Starburst On Background Image -- Variation In Tint And Foreground Color |
||
Original | ||
Arguments: |
Arguments: |
Arguments: |
What the script does is as follows:
This is equivalent to the following IM commands.
|