conjure
NAME SYNOPSIS DESCRIPTION OPTIONS MAGICK SCRIPTING LANGUAGE SEE ALSO COPYRIGHT AUTHORS
conjure - process a Magick Scripting Language (MSL) script
WARNING: Conjure and MSL are in very early development and the syntax is subject to change!
conjure [__ ''options'' __? script.msl [ [[__ ''options'' __? script.msl ]
The 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
conjure -dimensions 400x400 incantation.msl
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 magick-developers@imagemagick.org.
Options 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
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
Keywords and values are case dependent.
For a more detailed description of each option, see !ImageMagick(1).
-debug
enable debug printout
-help
print usage instructions
-verbose
print detailed information about the image
The Magick Scripting Language (MSL) presently defines the following elements and their attributes:
Define a new image object. destroys it. Because of this, if you wish to reference multiple image element inside of another. For example:
Define a new group of image objects. By default, images are only valid for the life of their element.
However, in a group, all images in that group will stay around for the life of the group:
Read a new image from a disk file.
To read two images use
Write the image(s) to disk, either as a single multiple-image file or multiple ones if necessary.
Get any attribute recognized by !PerlMagick?'s !GetAttribute?() and stores it as an image attribute for later use. Currently only width and height are supported.
background, bordercolor, clip-mask, colorspace, density, magtick, mattecolor, opacity. Set an attribute recognized by
fill, geometry, height, width
radius, sigma
radius, sigma
geometry, height, width, x, y
geometry, height, width, x, y
radius, sigma
fill, geometry, height, width, x, y, inner, outer
height, width
background, color, id, size
output
blur, filter, geometry, height, width
geometry, x, y
degrees
geometry, height, width
geometry, height, width
radius, sigma
geometry, height, width
x, y
threshold
radius
image
image
degrees
image
threshold
color
animate(1), display(1), composite(1), convert(1), identify(1), import(1), mogrify(1), montage(1)
Copyright (C) 2002 !ImageMagick Studio
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (
__The above copyright notice and this permission notice shall be included in all copies or substantial portions of
The software is provided
__Except as contained in this notice, the name of the
otherwise to promote the sale, use or other dealings in
''John Cristy, !ImageMagick Studio LLC, Glenn Randers-Pehrson, !ImageMagick Studio LLC, Leonard Rosenthol,
5 pages link to conjure(1):