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 zoomed rotating text animation. |
last modified: December 16, 2018
USAGE: zoomrotatetext -t "text" [-w width ] [-f font] [-c color] [-b bgcolor ]
[-r revolutions] [-D direction] [-m mode ] [-p pause] [-F frames] [-d delay]
[infile] outfile
-t ... text .......... text string to be used to create the animation; required argument PURPOSE: Creates a zoomed and rotating text animation. DESCRIPTION: ZOOMROTATETEXT creates a zoomed and rotating text animation. The number of revolutions may be specified as well as the mode for the zoom. ARGUMENTS: -t text ... TEXT string to be used to create the animation. This is a required argument -w width ... WIDTH of text in pixels. Values are integers>0. The default=500. The image height will be determined from the text height and the amplitude. -f font ... FONT to use for the text. Either the font name or path to font file may be used. The default=arial. -c color ... COLOR of the text. Any valid IM color is allowed. The default=black. -b bgcolor ... BGCOLOR is the background color for the animation frames. Any valid IM color is allowed. The default=white. -r revolutions ... REVOLUTIONS is the number of 360 degree revolutions of the text. Values are integers>>0. The default=4. -D direction ... DIRECTION of the revolutions. Choices are: clockwise (cw) or counterclockwise (ccw). The default=clockwise. -m mode ... MODE for the zoom. Choices are: 1 (zoom out once only), 2 (zoom out, then zoom in, then zoom out again once only), and 3 (zoom out, then zoom in, then repeat continuosly). The default=2. -p pause ... Pause is the number of frames to pause between zoom in/out steps with method 2. Values are integers>0. The default=10. -F frames ... FRAMES is the number of frames to generate in the animation. Values are integers>0. The default=30. -d delay ... DELAY is the animation delay between frames. Values are integers>0. The default=10. infile is optional and will be tiled (or cropped) to replace the background color. 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 |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Example 2 |
Input: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
What the script does is as follows:
This is equivalent to the following IM commands
|