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 watercolor effect to an image. |
last modified: September 26, 2017
USAGE: watercolor [-s smoothing] [-e edge] [-m mixing] [-c contrast] infile outfile
-s ... smoothing ... smoothing of image texture; integer>=0; default=0 (no smoothing) PURPOSE: To apply a watercolor effect to an image. DESCRIPTION: WATERCOLOR applies a watercolor effect to an image. ARGUMENTS: -s smoothing ... SMOOTHING of image texture. Values are integers>=0. The default=0 (no smoothing). IMPORTANT: use odd integers to avoid image shift by half pixel. -e edge ... EDGE gain. Values are floats>=1. The default=5. -m mixing ... MIXINT of edge content with smoothed image. Values are 0<=integer<=100. Larger is more edge content. The default=33. -c contrast ... CONTRAST increase factor. Values are floats>>=0. The default=0 (no change). REFERENCE: http://www.photoshopessentials.com/photo-effects/watercolor-painting-photoshop-cs6/ 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 Mixing |
||
Arguments: |
Arguments: |
|
Example 2 - Variation in Smoothing |
||
Arguments: |
Arguments: |
|
Example 3 - Variation in Contrast |
||
Arguments: |
Arguments: |
|
Example 4 |
||
Original |
||
Arguments: |
Arguments: |
|
Arguments: |
Arguments: |
|
Example 5 |
||
Original |
||
Arguments: |
Arguments: |
|
Arguments: |
Arguments: |
|
Example 6 |
||
Original |
||
Arguments: |
Arguments: |
|
Example 7 |
||
Original |
||
Arguments: |
Arguments: |
|
Arguments: |
Arguments: |
|
What the script does is as follows:
This is equivalent to the following IM commands
|