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 Roy Lichtenstein newspaper cartoon effect to an image. |
last modified: December 15, 2018
USAGE: lichtenstein [-p poster] [-b blur1] [-s sigmoidal] [-d dither]
-p ... poster ...... posterize levels; integer>=0; default=7 PURPOSE: To apply a Roy Lichtenstein newspaper cartoon effect to an image. DESCRIPTION: LICHTENSTEIN applies a Roy Lichtenstein newspaper cartoon effect to an image. ARGUMENTS: -p poster ... POSTER is the number of posterize levels. Values are integers>=0. The default=7. -b blur1 ... BLUR1 is the main blurring amount. Values are floats>=0. The default=3. -s sigmoidal ... SIGMOIDAL is the amount of (inverse) sigmoidal contrast. Values are floats>=0. The default=2. -d dither ... DITHER is the kind of ordered dither to use. Any valid IM ordered dither is allowed. The default=o8x8. A suggested alternate is h6x6a. If dither=none, the dithering will be disabled. -B blur2 ... BLUR2 is the minor (softening) blurring amount. Values are floats>=0. The default=1. -e edge ... EDGE is the amount of edge enhancement. Values are integers>=0. The default=2. -g gain ... GAIN is the amount of edge gain (intensity). Values are floats>=0. The default=5. -E erode ... ERODE is the amount of erosion of the edges to thicken them. Values are integers>=0; default=1. -S sat ... SAT is the color saturation amount. Values are integers>=0. The default=175. (100 is no change)
REFERENCES: REQUIREMENTS: IM 6.7.9.0 or higher due to the use of colorspace HCL in -modulate. 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. |
Original Image |
|
Arguments: -d o8x8 (defaults) |
|
Arguments: -d h6x6a |
|
Arguments: -d none |
Original Image |
|
Arguments: -s 2 (defaults) |
|
Arguments: -s 4 |
Original Image |
|
Arguments: (defaults) |
What the script does is as follows:
This is equivalent to the following IM commands.
|