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 accented edges to an image. |
last modified: December 15, 2018
USAGE: accentedges [-w width] [-s strength] [-p polarity] [-b blur] [-c cmethod] infile outfile
-w ... width ...... width of edges; integer>0; default=1 PURPOSE: To apply accented edges to an image. DESCRIPTION: ACCENTEDGES applies accented edges to an image. The edges may be either black or white. The compose method may be either over or overlay for slightly different effects. This script attempts to duplicate some of the features of Photoshop's Accented Edges. ARGUMENTS: -w width ... WIDTH of the edges. Values are integers>0. The default=1. -s strength ... STRENGTH of the edges. Values are integers>=0. The default=20. -p polarity ... POLARITY of the edges. The choices are: white or black. The default=black. -b blur ... BLUR is the blurring (smoothing) of the edges. Values are floats>=0. The default=0.5. -c cmethod ... CMETHOD is the compose method for blending the edges with the image. The choices are: over or overlay. The default=over. REQUIREMENTS: IM 6.5.9.3 is required due to the use of -morphology edgeout. 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. |
Variation In Strength |
|||||
Original Image |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Original Image |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Original Image |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Original Image |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Variation In Width |
|||||
Original Image |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Variation In Blur |
|||
Original Image |
Arguments: |
Arguments: |
Arguments: |
What the script does is as follows:
This is equivalent to the following IM commands.
|