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 posterized edges to an image. |
last modified: December 15, 2018
USAGE: posteredges [-w width ] [-a amount] [-m method] [-n number] [-b blur] [-s sat] infile outfile
-w ... width .... width of edges; float>0; default=3 PURPOSE: To apply posterized edges to an image. DESCRIPTION: POSTEREDGES applies posterized edges to an image. The width and amount of edges may be varied. Color reduction is optional. This script attempts to duplicate some of the features of Photoshop's Posterized Edges. ARGUMENTS: -w width ... WIDTH of the edges. Values are floats>0. The default=3. -a amount ... AMOUNT or strength of the edges. Values are floats>0. The default=5. -m method ... METHOD of reducing colors. The choices are: posterize (p) or colors (c). The default=posterize -n number ... NUMBER of reduced colors. Values are integers>=2. The default is no color reduction. -b blur ... BLUR is the blurring (smoothing) of the result. Values are floats>=0. The default=0.5. -s sat ... SAT is the saturation of the result. Values are integers>=0. The default=100 for 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. |
Variation In Width |
|||
Original Image |
Arguments: |
Arguments: |
Arguments: |
Variation In Amount |
|||
Original Image |
Arguments: |
Arguments: |
Arguments: |
Variation In Numbers |
||||
Original Image |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Original Image |
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 for method=posterize
|