Copyright (C) 2000-2012 |
Manpages conjureSection: User Commands (1)Updated: Date: 2004/01/01 01:00:00 Index Return to Main Contents CONJURENAMEconjure - process a Magick Scripting Language (MSL) scriptWARNING: Conjure and MSL are in very early development and the syntax is subject to change! SYNOPSISconjure [ options ] script.msl [ [ options ] script.msl ] DESCRIPTIONThe Magick scripting language (MSL) will primarily benefit those that want to accomplish custom image processing tasks but do not wish to program, or those that do not have access to a Perl interpreter or a compiler. The interpreter is called conjure and here is an example script:
invoked with
All operations will closely follow the key/value pairs defined in PerlMagick, unless otherwise noted.
Conjure is in the early stages of development as of April 2002.
This early announcement is to allow ImageMagick users to contribute ideas early in the process so when the scripting language is released it will be useful/stable from the get-go! If you want to contribute suggestions about the Magick scripting language (MSL), post them to the ImageMagick tools list at imagemagick-tools @ lists.sourceforge.net. OPTIONSOptions are processed in command line order. Any option you specify on the command line remains in effect until it is explicitly changed by specifying the option again with a different effect, or if it is changed by a statement in the scripting language.
You can define your own keyword/value pairs on the command line. The script can then use this information when setting values by including %[keyword] in the string. For example, if you included "-dimensions 400x400" on the command line, as illustrated above, then any string containing "%[dimensions]" would have 400x400 substituted. The "%[string]" can be used either an entire string, such as geometry="%[dimensions]" or as a part of a string such as filename="%[basename].png". The keyword can be any string except for the following reserved strings (in any upper, lower, or mixed case variant): debug, help, and verbose, whose usage is described below. The value can be any string. If either the keyword or the value contains white space or any symbols that have special meanings to your shell such as "#", "|", or "%", enclose the string in quotation marks or use "\" to escape the white space and special symbols. Keywords and values are case dependent. "Key", "key", and "KEY" would be three different keywords.
For a more detailed description of each option, see Options, above. ImageMagick(1).
MAGICK SCRIPTING LANGUAGEThe Magick Scripting Language (MSL) presently defines the following elements and their attributes:
<image>
<group>
However, in a group, all images in that group will stay around for the life of the group:
<read>
To read two images use
<write>
<set>
SEE ALSOanimate(1), display(1), composite(1), convert(1), identify(1), import(1), mogrify(1), montage(1) COPYRIGHTCopyright (C) 1999-2004 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see http://www.imagemagick.org/www/Copyright.html
IndexThis document was created by man2html, using the manual pages. Time: 10:23:26 GMT, November 12, 2024 |