Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
UNICEF

 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

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

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

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

  

conjure


       WARNING: Conjure and MSL are in very early development and
       the syntax is subject to change!


SYNOPSIS

       conjure [ options ] script.msl [ [ options ] script.msl ]


DESCRIPTION

       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:

           <?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" />
           </image>

       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 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-
       developers@imagemagick.org.


OPTIONS

       Options  are  processed  in command line order. Any option
       filename="%[basename].png".

       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
       below.

       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
       ImageMagick(1).

       -debug <events>
              enable debug printout

       -help  print usage instructions

       -log <string>

       -verbose
              print detailed information about the image

       -version
              print ImageMagick version string


MAGICK SCRIPTING LANGUAGE

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

               <image>

                    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:

                        <image>
                        <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
                    stuff
                            </image>                      -- NOOP
                            <image>                       -- cre­
                    ate another image
                            ....                           --  do
                    more stuff
                            </image>                      -- NOOP
                            <write  filename="image.mng"  />   --
                    output
                        </group>                          -- dis­
                    pose of both images

               <read>

                    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>

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

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

               <set>

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

                        fill, geometry, height, width
               <blur>

                        radius, sigma
               <charcoal>

                        radius, sigma
               <chop>

                        geometry, height, width, x, y
               <crop>

                        geometry, height, width, x, y
               <despeckle>

               <emboss>

                        radius, sigma
               <enhance>

               <equalize>

               <flip>

               <flop>

               <frame>

                        fill,  geometry,  height,  width,  x,  y,
                    inner, outer
               <get>

                        height, width
               <image>

                        background, color, id, size
               <magnify>

               <minify>

               <normalize>

               <sample>

                        geometry, height, width
               <scale>

                        geometry, height, width
               <sharpen>

                        radius, sigma
               <shave>

                        geometry, height, width
               <shear>

                        x, y
               <solarize>

                        threshold
               <spread>

                        radius
               <stegano>

                        image
               <stereo>

                        image
               <swirl>

                        degrees
               <texture>

                        image
               <threshold>

                        threshold
               <transparent>

                        color
               <trim>


SEE ALSO

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


COPYRIGHT

       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.


AUTHORS

       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)
  
Help us cut cost by not downloading the whole site!
Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and therefore is expressedly prohibited. For more details on this, take a look here

Login
Nickname

Password

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?
You can help in many different ways.


Friends



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