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: vignette3 [-d diameter] [-x xycenter] [-c] [-o outramp] [-i inramp]
-d ... diameter .... vignette region boundary; relative size compared to the PURPOSE: Applies a vignette effect to a picture. DESCRIPTION: VIGNETTE3 applies a vignette effect to a picture. The vignette center may be moved. ARGUMENTS: -d diameter ... DIAMETER controls the vignette region boundary. It is expressed as a percentage of the input image width,height. Values are integers>0. The default=70 -x xycenter ... XYCENTER specify the x,y center of the vignette effect. Values are a comma separate pair of integers>=0. The default is center of image. -c circle ... CIRCLE indicates to constrain the shape to a circle rather than an ellipse for non-square image. The default=no constraint -o outramp ... OUTRAMP is the vignette linear outer ramp extent. Values are -100<=integer<=100. Larger values lengthen the ramp and shorter values shorten the ramp. The default is a linear ramp tapering to zero at the most distant image point. -i inramp ... INRAMP is the vignette inner ramp extent in pixels. Value are 0<=integer<=100. The default=0. -g gammma ... GAMMA adjusts the shape (and length) of the ramps. Values are floats>=0. Values less than 1 lengthen the ramps and values larger than 1 shorten the the ramp. The default=1. -v vcolor ... VCOLOR is the vignette color. Any opaque IM color is allowed or "none" for a transparency vignette effect, The default=black. -b bright ... BRIGHT is the brightness change of the image under the vignette. Values are -100<=integer<=100. The default=0 (no change). -s sat ... SAT is the saturation change of the image under the vignette. Values are -100<=integer<=100. The default=0 (no change). 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 -- Variation In Diameter |
||
Original | ||
Arguments: |
Arguments: |
Arguments: |
Example 2 -- Variation In Outer Ramp |
||
Original | ||
Arguments: |
Arguments: |
Arguments: |
Example 3 -- Variation In Gamma |
||
Original | ||
Arguments: |
Arguments: |
Arguments: |
Example 4 -- Variation In Outer Ramp With Circle Constraint |
||
Original | ||
Arguments: |
Arguments: |
Arguments: |
Example 5 -- Variation In Inner Ramp |
|
Original | |
Arguments: |
Arguments: |
Example 6 -- Variation In Circle Center |
|
Original | |
Arguments: |
Arguments: |
Example 7 -- Variation In Brightness |
|
Original | |
Arguments: |
Arguments: |
Example 8 -- Variation In Saturation |
|
Original | |
Arguments: |
Arguments: |
Example 8 -- Variation In Vignette Color |
|
Original | |
Arguments: |
Arguments: |
What the script does is as follows:
This is equivalent to the following IM commands:
|