Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Bread for the World

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 71 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here



       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

           <?xml version="1.0" encoding="UTF-8"?>
           <image size="400x400" >
             <read filename="image.gif" />
             <get width="base-width" height="base-height" />
             <resize geometry="%[dimensions]" />
             <get width="width" height="height" />
             <print output=
               "Image sized from %[base-width]x%[base-height]
                to %[width]x%[height].\n" />
             <write filename="image.png" />

       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

       This early announcement is to allow ImageMagick  users  to
       contribute  ideas early in the process so when the script­
       ing 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-


       Options  are  processed  in command line order. Any option

       The  keyword  can  be  any string except for the following
       reserved strings (in any upper, lower, or mixed case vari­
       ant):  debug,  help, and verbose, whose usage is described

       The value can be any string.  If either the keyword or the
       value  contains  white space or any symbols that have spe­
       cial 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

       -debug <events>
              enable debug printout

       -help  print usage instructions

       -log <string>

              print detailed information about the image

              print ImageMagick version string


       The Magick Scripting Language (MSL) presently defines  the
       following elements and their attributes:


                    Define a new image object.  </image> destroys
                    it. Because of this, if you wish to reference
                    multiple  "subimages"  (aka pages or layers),
                    you can embed one  image  element  inside  of
                    another. For example:

                        <read filename="input.png" />
                        <get   width="base-width"   height="base-
                    height" />
                    of their <image>element.

                        <image>   -- creates the image
                        .....     -- do stuff with it
                        </image>  -- dispose of the image

                    However, in a group, all images in that group
                    will stay around for the life of the group:

                        <group>                                --
                    start a group
                            <image>                       -- cre­
                    ate an image
                            ....                           --  do
                            </image>                      -- NOOP
                            <image>                       -- cre­
                    ate another image
                            ....                           --  do
                    more stuff
                            </image>                      -- NOOP
                            <write  filename="image.mng"  />   --
                        </group>                          -- dis­
                    pose of both images


                    Read a new image from a disk file.

                        <read filename="image.gif" />

                    To read two images use

                        <read filename="image.gif" />
                        <read filename="image.png />


                    Write  the image(s) to disk, either as a sin­
                    gle multiple-image file or multiple  ones  if

                    width]x%[base-height].\n" />


                    background,  bordercolor,   clip-mask,   col­
                    orspace,  density,  magick, mattecolor, opac­
                    ity.  Set an attribute recognized by PerlMag­
                    ick's GetAttribute().

                        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




                        geometry, height, width

                        geometry, height, width

                        radius, sigma

                        geometry, height, width

                        x, y










       animate(1), display(1),  composite(1),  convert(1),  iden­
       tify(1), import(1), mogrify(1), montage(1)


       Copyright (C) 2003 ImageMagick Studio

       Permission  is hereby granted, free of charge, to any per­
       warranties of merchantability, fitness  for  a  particular
       purpose  and noninfringement.In no event shall ImageMagick
       Studio be liable for any claim, damages or  other  liabil­
       ity,  whether in an action of contract, tort or otherwise,
       arising from, out of or in connection with ImageMagick  or
       the use or other dealings in ImageMagick.

       Except  as  contained  in  this  notice,  the  name of the
       ImageMagick Studio LLC shall not be used in advertising or
       otherwise  to  promote  the sale, use or other dealings in
       ImageMagick without prior written authorization  from  the
       ImageMagick Studio.


       John Cristy, ImageMagick Studio LLC,
       Glenn Randers-Pehrson, ImageMagick Studio LLC,
       Leonard Rosenthol, ImageMagick Studio LLC.

ImageMagick         Date: 2003/01/01 01:00:00          conjure(1)

More information about the site can be found in the FAQ



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
The Linux Tutorial welcomes your suggestions and ideas.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds