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 color glow effect to an image. |
last modified: December 15, 2018
USAGE: colorglow -c coords [-a strength] [-s extent] [-f fuzzval] [-l lightness] [h hue] infile outfile
-c ... coords ...... coordinates for locating glow region; comma separate NAME: COLORGLOW DESCRIPTION: COLORGLOW applies color glow effect to an image. The user must supply a set of x,y coordinates within the image to located a contiguous region of color with some fuzz value tolerance. The color will be extracted from those coordinates automatically. ARGUMENTS: -c coords ... COORDS is the set of x,y coordinates to locate a contiguous region of color where the glow will be applied. -s strength ... strength (intensity) of glow effect. Values are floats greater or equal to 0. The default=100. -e extent ... extent is the extenting extent of the glow. Values are floats greater or equal to 0. The default=5. -f fuzzval ... FUZZVAL for extracting the contiguous region of color. Values are floats between 0 and 100. The default=20. -l lightness ... LIGHTNESS is the percent change in lightness of the glow color. Values are floats greater or equal to 0. The default=0. -h hue ... HUE is the percent change in hue of the glow color. Values are floats between -100 and 100. The default=0. NOTE: Results may vary with versions of IM prior to 6.7.7.8 due to color space changes. One can get close by varying the arguments, typically raising the strength to 150 and increasing extent by 1 or 2. 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. |
Example 1 |
|
Original |
Arguments: |
Example 2 |
|
Original |
|
Arguments: |
Arguments: |
Example 3 |
|
Original |
Arguments: |
What the script does is as follows:
This is equivalent to the following IM commands
|