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 jagged cut and splice effect to an image. |
last modified: December 15, 2018
USAGE: splice [-t top] [-b bottom] [-g gap] [-v vertices] [-m maxoffset] [-s seed] [-a amount] [-d distance] [-o opacity] [-c color] infile outfile
-t ... top ......... top section height; percent or pixels; PURPOSE: To apply a jagged cut and splice effect to an image. DESCRIPTION: SPLICE applies a jagged cut and splice effect to an image. A shadow effect is optional, but applied by default. ARGUMENTS: -t top ... TOP is the top section height in percent or pixels. Values are 0<integer<image height (or 100%). The default=30%. Note that the top and bottom sections typically add up to 100% or less of the original image. -b bottom ... BOTTOM is the bottom section height in percent or pixels. Values are 0<integer<image height (or 100%). The default=30%. Note that the top and bottom sections typically add up to 100% or less of the original image. -g gap ... GAP is the gap in pixels between the top and bottom sections. Values are integer>=0. The default=10. -v vertices ... VERTICES are the number of vertices between left and right sides of the image (excluding start and end points). Values are integer>=0. The default=8. -m maxoffset ... MAXOFFSET is the maximum vertex pixel offset in the vertical direction. Values are integer>=0. The default=15. -s seed ... SEED is the random number seed for the vertex vertical offsets. Values are integer>=0. The default=300. -a amount ... AMOUNT is the amount of blur for the shadow. Value are integer>=0. The default=4. -d distance ... DISTANCE is the shadow distance in pixels. Values are integer>=0. The default=4. -o opacity ... OPACITY is the shadow opacity. Values are 0<=integer<=100. The default=100. If opacity is set to zero, then no shadow will be added. -c color ... COLOR is the background color. Any valid IM color is allowed. The default=white. 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 |
Arguments: |
Arguments: |
Arguments: |
What the script does is as follows:
This is equivalent to the following IM commands
|