Fred's ImageMagick Scripts
My scripts are available free of charge for non-commercial use. If you redistribute or incorporate any of these scripts into other free applications, you may use my scripts by simply referencing my name and this web page: Fred Weinhaus and http://www.fmwconcepts.com/imagemagick/index.html For use of my scripts in commercial use or non-free applications, please contact me for
licensing arrangements. Usage, whether stated in script or not, is also subject to the ImageMagick license, which can be found at: http://www.imagemagick.org/script/license.php |
|
Applies a vignette effect to a picture. |
last modified: September 17, 2011
|
# 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:
|