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. |
Creates a texture pattern and optionally applies it to the background of an input image. |
last modified: December 16, 2018
USAGE: texturize [-d dimensions] [-n newseed] [-t threshold] [-b blur]
-d ... dimensions ... dimensions of texture image to create if no input PURPOSE: To create a texture pattern and optionally apply it to the background of an input image DESCRIPTION: TEXTURIZE creates a noise or cross-hatch texture pattern that can be saved or applied to the background of an image. The cross-hatch pattern is generated from 1D vertical and horizontal blurring of thresholded random noise. The pattern may be widened some or spread to make it more noisy. ARGUMENTS: -d dimensions ... DIMENSIONS of texture image to create if no input image is provided. Dimensions are specified as integers WIDTHxHEIGHT. The default=128x128. -n newseed ... NEWSEED is the seed value to use for the random noise generator. Values are integers>0. The default=1. -t threshold ... THRESHOLD is the white-threshold percent to apply to the random noise. Values are in the range from 0 to 100. The default=2. -b blur ... BLUR is the sigma of 1D Gaussian blur used to create the cross-hatch pattern from the random noise. It is applied both vertically and horizontally. Values are floats>=0. The default=9. -w widen ... WIDEN is the sigma of 2D Gaussian blur used to create a widening effect on the pattern. Values are floats>=0; The default=0. -s spread ... SPREAD is the amount of the spread effect to apply to the pattern. More spread will dissolve the cross-hatch and create more of a random noise pattern. Values are floats>=0. The default=0. -g gnoise ... GNOISE is the amplitude of additive Gaussian noise added to the final effect. Values are floats>=0. The default=5. -f format ... FORMAT is the format of the texture patten. Choices are: plain (p) or bump (b). The default=bump. -m mix ... MIX is mixing percentage of the texture with the infile. Values are in the range from 0 to 100. The default=25. Mix is ignored, if an infile is not provided. -c contrast ... CONTRAST is the percent contrast increase of the image prior to mixing. Values are floats>=0. The default=0. Contrast is ignored, if an infile is not provided. REQUIREMENTS: 1D morphology convolution kernels which probably were introduced at about IM 6.6.2.0 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: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Original | ||
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
What the script does is as follows:
This is equivalent to the following IM commands
|