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 Dragan-like effect to an image to enhance wrinkles creating a 'gritty' effect. |
last modified: December 15, 2018
USAGE: draganeffect [-b brightness] [-c contrast] [-d darkness ] [-s saturation] infile outfile
-b ... brightness ... brightness factor; float>=0; default=1 no change PURPOSE: To apply a Dragan-like effect to an image. DESCRIPTION: DRAGANEFFECT applies a Dragan-like effect to an image to enhance wrinkles creating a "gritty" effect. ARGUMENTS: -b brightness ... BRIGHTNESS is a brightness factor. Values are floats>=0. The default=1 or no change. Increase brightness is larger than 1. Decrease brightness is less than 1. -c contrast ... CONTRAST is a sigmoidal contrast. Values are floats nominally in the range of -10 to 10. Positive values increase contrast and negative values decrease contrast. The default=0 (no change). -d darkness ... DARKNESS is the shadow darkening factor. Values are floats>=1. The default=1 or no change. Darker shadows is larger than 1. -s saturation ... SATURATION. Values are integer>=0. A value of 100 is no change. The default=150.
REFERENCES: REQUIREMENTS: IM 6.6.1.9 due to the use of -morphology DoG 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 |
|
Original |
Arguments: |
![]() |
![]() |
Arguments: |
Arguments: |
![]() |
![]() |
Example 2 |
|
Original |
Arguments: |
![]() |
![]() |
Arguments: |
Arguments: |
![]() |
![]() |
Example 3 |
|
Original | |
![]() |
|
Arguments: |
Arguments: |
![]() |
![]() |
Example 4 |
|
Original |
Arguments: |
![]() |
![]() |
What the script does is as follows:
This is equivalent to the following IM commands
|