>K K Tools: ImageMagick - Image Processing and Display Packageè + < W<8 W



 Ù
>Display

HDisplay is a machine architecture independentPimage processing and display program. It can display an image on any workstationLdisplay running an X server. The image can be displayed as backgroundimage of any window.

NDisplay first determines the hardware capabilities of your workstation.GIf the number of unique colors in an image is less than or equal to theQnumber the workstation can support, the image is displayed in an X window.IOtherwise the number of colors in the image is first reduced to match the@color resolution of the workstation before it is displayed.

FThis means that a continuous-tone 24 bits/pixel image can display on aM8 bit pseudo-color device or monochrome device. In most instances the reducedGcolor image closely resembles the original. Alternatively, a monochromeNor pseudo-color image sequence can display on a continuous-tone 24 bits/pixels device.

 Ø
>Import

GImport reads an image from any visible windowFon an X server and outputs it as an image file. You can captureMa single window, the entire screen, or any rectangular portion of the screen.HYou can use the display utility for redisplay, printing, editing,Iformatting, archiving, image processing, etc. of the captured image.

 
NThe target window can be specified by id, name, or may be selected by clickingGthe mouse in the desired window. If you press a button and then drag, aFrectangle will form which expands and contracts as the mouse moves. ToIsave the portion of the screen defined by the rectangle, just release theMbutton. The keyboard bell is rung once at the beginning of the screen capture!and twice when it completes.

 Ù
>Animate

GAnimate displays a sequence of images on anyOworkstation display running an X server. Animate first determinesLthe hardware capabilities of the workstation. If the number of unique colorsLin an image is less than or equal to the number the workstation can support,Lthe image is displayed in an X window. Otherwise the number of colorsNin the image is first reduced to match the color resolution of the workstationbefore it is displayed.
H
This means that a continuous-tone 24 bits/pixel image can display onGa 8 bit pseudo-color device or monochrome device. In most instances theOreduced color image closely resembles the original. Alternatively, a monochromeNor pseudo-color image sequence can display on a continuous-tone 24 bits/pixels device.
 Ù
>Montage

KMontage creates a composite by combining severalJseparate images. The images are tiled on the composite image with the nameFof the image optionally appearing just below the individual tile.

 Ù
>Convert

IConvert converts an input file using one imageGformat to an output file with a differing image format. By default, theGimage format is determined by its magic number. To specify a particularOimage format, precede the filename with an image format name and a colonG(i.e. ps:image) or specify the image type as the filename suffixN(i.e. image.ps). Specify file as - for standard input or output.GIf file has the extension .Z, the file is decoded with uncompress.

 Ù
>Mogrify

GMogrify transforms an image or a sequence ofMimages. These transforms include image scaling, image rotation,color3reduction, and others. The transmogrified imageoverwrites theoriginal image.

 Ú
>Identify

MIdentify describes the format and characteristicsIof one or more image files. It will also report if an image is incompleteIor corrupt. The information displayed includes the scene number, the fileIname, the width and height of the image, whether the image is colormappedLor not, the number of colors in the image, the number of bytes in the image,Lthe format of the image (JPEG, PNM, etc.), and finally the number of seconds+it took to read and process the image.

 P
>Composite

SComposite composites images to create new images.

 P
>Conjure

EConjure interprets and executes scripts in)the Magick Scripting Language (MSL).

2The Magick scripting language (MSL) will primarilyGbenefit those that want to accomplish custom image processing tasks butBdo not wish to program, or those that do not have access to a PerlFinterpreter or a compiler. The interpreter is called conjure and hereis an example script:

0    <?xml version="1.0" encoding="UTF-8"?>!    <image size="400x400" >)      <read filename="image.gif" />;      <get width="base-width" height="base-height" />/      <resize geometry="%[dimensions]" />1      <get width="width" height="height" />      <print output=6        "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

AAll operations will closely follow the key/value pairs defined in#PerlMagick, unless otherwise noted.


>

9Image manipulation software that works like magic.