[56] in Software_Announce
ImageMagick 3.4 available
daemon@ATHENA.MIT.EDU (Erik Nygren)
Tue Dec 20 01:36:54 1994
To: software-announce@MIT.EDU, graphics@MIT.EDU, bug-outland@MIT.EDU
Date: Tue, 20 Dec 1994 01:36:32 -0500
From: Erik Nygren <nygren@MIT.EDU>
Hello,
ImageMagick 3.4, a package for displaying, converting, grabbing, and
otherwise mogrifying graphics is now available in the graphics locker.
(It's really in the outland locker at the moment with symlinks from
graphics). I've compiled it with the jpeg, xpm, tiff, and mpeg
support for linux, sun4, and decmips. When I get back here
for IAP I'll build it for RS6K's.
Note that the programs were originally named convert, display, import,
etc. I can't stand giving programs names this generic (I've had
namespace conflicts with these before) so I prepended "im" to
all the names. As a result, run display with "imdisplay", etc.
The following image formats are recognized:
Tag Description
------------------------------------------------------------
AVS AVS X image file.
BMP Microsoft Windows bitmap image file.
CMYK Raw cyan, magenta, yellow, and black bytes.
EPS Adobe Encapsulated PostScript file.
EPSF Adobe Encapsulated PostScript file.
EPSI Adobe Encapsulated PostScript Interchange format.
FAX Group 3.
FITS Flexible Image Transport System.
GIF Compuserve Graphics image file.
GIF87 Compuserve Graphics image file (version 87a).
GRAY Raw gray bytes.
HISTOGRAM
IRIS SGI RGB image file.
JPEG
MAP colormap intensities and indices.
MATTE Raw matte bytes.
MIFF Magick image file format.
MTV
NULL NULL image.
PCD Photo CD.
PCX ZSoft IBM PC Paintbrush file.
PICT Apple Macintosh QuickDraw/PICT file. [uses netpbm to do this so may not work]
PNM Portable bitmap.
PS Adobe PostScript file.
PS2 Adobe Level II PostScript file.
RAD Radiance image file. [may not work]
RGB Raw red, green, and blue bytes.
RLE Utah Run length encoded image file; read only.
SUN SUN Rasterfile.
TEXT raw text file; read only.
TGA Truevision Targa image file.
TIFF Tagged Image File Format.
VICAR read only.
VIFF Khoros Visualization image file.
X select image from X server screen.
XC constant image of X server color.
XBM X11 bitmap file.
XPM X11 pixmap file.
XWD X Window System window dump image file.
YUV CCIR 601 1:1:1 file.
YUV3 CCIR 601 2:1:1 files.
Please note that these programs are in the outland locker and as such
are officially unsupported. Send bugs to bug-outland@mit.edu but do
not expect them to be dealt with in finite time.
Have fun!
--- Erik
Here's a description of the package (from the ImageMagick(1) man
page):
------------------------------------------------------------------
IMAGEMAGICK 3.4
ImageMagick is an X11 package for display and
interactive manipulation of images.
DESCRIPTION
ImageMagick is an X11 package for display and interactive
manipulation of images. The package includes tools for
image conversion, annotation, compositing, animation, and
creating montages. ImageMagick can read and write many of
the more popular image formats (e.g. JPEG, TIFF, PNM, XPM,
Photo CD, etc.). ImageMagick is available via anonymous
FTP as contrib/applications/ImageMagick/ImageMagick-3.4.tar.gz
on as ftp.x.org.
display
Display is a machine architecture independent image
and display program. It can display an image on any
workstation display running an X server. Display can
read and write many of the more popular image formats
(e.g. JPEG, TIFF, PNM, Photo CD, etc.). You can
perform these functions on the image:
o display information about the image
o write the image to a file
o print the image to a Postscript printer
o delete the image file
o load an image from a file
o display the next image
o display the former image
o display a sequence of images as a slide show
o select the image to display by its thumbnail
rather than name
o undo last image transformation
o restore the image to its original size
o refresh the image
o toggle the colormap type: : Shared or Private
o half the image size
o double the image size
o resize the image
o trim the image edges
o crop the image
o cut the image
o flop image in the horizontal direction
o flip image in the vertical direction
o rotate the image 90 degrees clockwise
o rotate the image 90 degrees counter-clockwise
o rotate the image
o shear the image
o invert the colors of the image
o vary the color brightness
o vary the color saturation
o vary the image hue
o gamma correct the image
o sharpen the image contrast
o dull the image contrast
o perform histogram equalization on the image
o perform histogram normalization on the image
o negate the image colors
o reduce the speckles within an image
o eliminate peak noise from an image
o detect edges within the image
o emboss an image
o oil paint an image
o convert the image to grayscale
o set the maximum number of unique colors in the
image
o annotate the image with text
o add a border to the image
o composite image with another
o edit an image pixel color
o edit the image matte information
o add an image comment
o display information about this program
o discard all images and exit program
o change the level of magnification
import
Import reads an image from any visible window on an X
server and outputs it as an image file. You can
capture a single window, the entire screen, or any
rectangular portion of the screen. You can use
display (see display(1)) utility for redisplay,
printing, editing, formatting, archiving, image
processing, etc. of the captured image.
The target window can be specified by id, name, or
may be selected by clicking the mouse in the desired
window. If you press a button and then drag, a
rectangle will form which expands and contracts as
the mouse moves. To save the portion of the screen
defined by the rectangle, just release the button.
The keyboard bell is rung once at the beginning of
the screen capture and twice when it completes.
animate
Animate displays a sequence of images on any
workstation display running an X server. Animate
first determines the hardware capabilities of the
workstation. If the number of unique colors in an
image is less than or equal to the number the
workstation can support, the image is displayed in an
X window. Otherwise the number of colors in the
image is first reduced to match the color resolution
of the workstation before it is displayed.
This means that a continuous-tone 24 bits/pixel image
can display on a 8 bit pseudo-color device or
monochrome device. In most instances the reduced
color image closely resembles the original.
Alternatively, a monochrome or pseudo-color image
sequence can display on a continuous-tone 24
bits/pixels device.
montage
Montage creates a composite image by combining
several separate images. The images are tiled on the
composite image with the name of the image optionally
appearing just below the individual tile.
convert
Convert converts an input file using one image format
to an output file with a differing image format. By
default, the image format is determined by it's magic
number. To specify a particular image format, precede
the filename with an image format name and a colon
(i.e. ps:image) or specify the image type as the
filename suffix (i.e. image.ps). Specify file as -
for standard input or output. If file has the
extension .Z, the file is decoded with uncompress.
mogrify
Mogrify transforms an image or a sequence of images.
These transforms include image scaling, image
rotation, color reduction, and others. The
transmogrified image overwrites the original image.
identify
describes the format and characteristics of one or
more image files. It will also report if an image is
incomplete or corrupt. The information displayed
includes the scene number, the file name, the width
and height of the image, whether the image is
colormapped or not, the number of colors in the
image, the number of bytes in the image, the format
of the image (JPEG, PNM, etc.), and finally the
number of seconds it took to read and process the
image.
combine
Combine combines images to create new images.
segment
Segment segments an image by analyzing the histograms
of the color components and identifying units that
are homogeneous with the fuzzy c-means technique.
The scale-space filter analyzes the histograms of the
three color components of the image and identifies a
set of classes. The extents of each class is used to
coarsely segment the image with thresholding. The
color associated with each class is determined by the
mean color of all pixels within the extents of a
particular class. Finally, any unclassified pixels
are assigned to the closest class with the fuzzy c-
means technique.
SEE ALSO
display(1), animate(1), import(1), montage(1), mogrify(1),
convert(1), segment(1), combine(1), miff(5)
COPYRIGHT
Copyright 1994 E. I. du Pont de Nemours and Company
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby
granted without fee, provided that the above copyright
notice appear in all copies and that both that copyright
notice and this permission notice appear in supporting
documentation, and that the name of E. I. du Pont de
Nemours and Company not be used in advertising or
publicity pertaining to distribution of the software
without specific, written prior permission. E. I. du Pont
de Nemours and Company makes no representations about the
suitability of this software for any purpose. It is
provided "as is" without express or implied warranty.
E. I. du Pont de Nemours and Company disclaims all
warranties with regard to this software, including all
implied warranties of merchantability and fitness, in no
event shall E. I. du Pont de Nemours and Company be liable
for any special, indirect or consequential damages or any
damages whatsoever resulting from loss of use, data or
profits, whether in an action of contract, negligence or
other tortuous action, arising out of or in connection
with the use or performance of this software.
AUTHORS
John Cristy, E.I. du Pont de Nemours and Company
Incorporated