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 vignette effect to a picture. |
last modified: December 16, 2018
# USAGE: vignette [-i inner] [-o outer] [-f feather] [-c color] [-a amount] infile outfile # USAGE: vignette [-help|-h]
-i ... inner ..... inner radius of vignette where not darkened; # PURPOSE: Applies a vignette effect to a picture. # DESCRIPTION: VIGNETTE applies a vignette effect to a picture. The # inner and outer radii of the vignette can be controlled as well as # the vignette color and amount. For non-square images the vignette # effect will be elliptical to reach the corners. ARGUMENTS: -i inner ... INNER vignette radius as percent of image dimension. The default=0 means the vignette starts near the image center. -o outer ... OUTER vignette radius as percent of image dimension. The default=150, which is about the image corners. -f feather ... FEATHER is the amount of feathering or smoothing of the transition around the inner radius. Values are floats>0. The default=0 -c color ... COLOR is the vignette color. Any valid opaque IM color is allowed. The default=black. -a amount ... AMOUNT is the overal coloring amount. Values are integers in the range 0 to 100. A value of zero means no vignette. The default=100 means full vignette color. 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: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Example 2 |
|
Original |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Example 3 |
|
Original | |
Arguments: |
Arguments: |
What the script does is as follows for mode=intensity:
This is equivalent to the following IM commands:
|