"I swear by my life and my love of it that I will never live for the sake of another man, nor ask another man to live for mine."John Galt in Atlas Shrugged, by Ayn Rand
John Cristy
P.O. Box 40
Landenberg, PA 19350
USA
I want ImageMagick to be of high quality, so if you encounter a problem I will investigate. However, be sure you are using the most recent version from ftp.wizards.dupont.com, or a mirror site, before submitting any bug reports or suggestions.
image/*; display %s
subscribe magick
to
majordomo@wizards.dupont.com.
You will receive a welcome message which tells you how to post messages
to the list
magick@wizards.dupont.com.
gunzip ImageMagick-3.6.5.tar.gz
tar xvf ImageMagick-3.6.5.tar
cd ImageMagick
xmkmf
make Makefiles
make depend
make -k
Note, ImageMagick requires an ANSI compiler. If the compile fails,
first check to ensure your compile is ANSI compatible. If it fails for some
other reason, try
cd magick
make -k
cd ..
make -k
configure
make
If you use gcc and get a link error, recompile with the option
-fPIC. Dec Alpha users might need to compile magick/X.c
with -O1 due to an optimizer bug in gcc. Change
ReadBinaryType to "r" and WriteBinaryType to
"w" in magick/magick.h for FreeBSD.
display images/aquarium.miff
display -monochrome -dither images/aquarium.miff
display -visual default images/aquarium.miff
For additional information, see the manual pages for these ImageMagick utilities
display
convert
montage
identify
animate
import
mogrify
combine
display logo:
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 interchange format; 8-bit color.
GIF87 - CompuServe graphics interchange format; 8-bit color (version 87a).
GRAY - Raw gray bytes.
HDF - Hierarchical Data Format.
HISTOGRAM
JPEG - Joint Photographic Experts Group JFIF format; compressed 24-bit color.
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.
PDF - Portable Document Format.
PICT - Apple Macintosh QuickDraw/PICT file.
PNG - Portable Network Graphics.
PNM - Portable bitmap.
PS - Adobe PostScript file.
PS2 - Adobe Level II PostScript file.
RAD - Radiance image file.
RGB - Raw red, green, and blue bytes.
RGBA - Raw red, green, blue, and matte bytes.
RLA - RLA Alias/Wavefront image file; read only
RLE - Utah Run length encoded image file; read only.
SGI - Irix RGB image file.
SUN - SUN Rasterfile.
TEXT - raw text file; read only.
TGA - Truevision Targa image file.
TIFF - Tagged Image File Format.
TILE - tile image with a texture.
VICAR - read only.
VID - Visual Image Directory.
VIFF - Khoros Visualization image file.
X - select image from X server screen.
XC - constant image of X server color.
XBM - X Windows system bitmap, black and white only.
XPM - X Windows system pixmap file (color).
XWD - X Windows system window dump file (color).
YUV - CCIR 601 1:1:1 file.
YUV3 - CCIR 601 2:1:1 files.
Concerning iterative JPEG compression: see Kinoshita and Yamamuro, Journal of Imaging Science and Technology, Image Quality with Reiterative JPEG Compression, Volume 39, Number 4, July 1995, 306-312 who claim that (1) the iterative factor of the repetitive JPEG operation had no influence on image quality, and (2) the first compression determined base image quality.
cd ImageMagick
gunzip -c HDF4.0r2.tar.gz | tar xvf -
mv HDF4.0r2 hdf
cd hdf
configure
make -k allnofortran
cd ..
cd ImageMagick
gunzip -c jbigkit-0.9.tar.gz | tar xvof -
mv jbig-kit jbig
cd jbig
make
cd ..
cd ImageMagick
gunzip -c jpegsrc.v6a.tar.gz | tar xvof -
mv jpeg-6a jpeg
cd jpeg
configure CC=cc -with-maxmem=7
make
cd ..
cd ImageMagick
mkdir mpeg
cd mpeg
gunzip -c mpeg_lib-1.1.tar.gz | tar xvof -
mv mpeg_lib/* .
edit Makefile as instructed; for Solaris use the
BSD-compatibility libraries or replace bzero with a call to
memset
make
cd ..
cd ImageMagick
gunzip -c zlib-1.0.4.tar.gz | tar xvf -
cd zlib
make
cd ..
gunzip -c libpng-0.89c.tar.gz | tar xvf -
mv libpng-0.88 png
cd png
make
cd ..
cd ImageMagick
gunzip -c tiff-v3.4beta035.src.tar.Z | tar xvof -
mv tiff-v3.4 tiff
cd tiff
configure
make
cd ..
make install
cd ImageMagick
edit Magick.tmpl and define Has???? as instructed
xmkmf
make Makefiles
make clean
make
configure
make clean
make -k
Install sun
@make
set display/create/node=node_name::
display [.images]aquarium.miff
display -monochrome -dither [.images]aquarium.miff
mogrify -colors 256 scenes/dna.[0-9]*
xstdcmap -best
animate -map best scenes/dna.[0-9]*
animate -visual truecolor scenes/dna.[0-9]*
convert -scene 2 image.tiff image.miff
make clean
make
In 16-bit mode expect to use about 33% more memory on the average. Also expect some processing to be slower than in 8-bit mode (e.g. Oil Painting, Segment, etc).
In general, 16-bit mode is only useful if you have 16-bit images that you want to manipulate and save the transformed image back to a 16-bit image format (e.g. PNG, VIFF).
typedef struct _RunlengthPacket
{
unsigned char
red : QuantumDepth,
green : QuantumDepth,
blue : QuantumDepth,
length : QuantumDepth;
unsigned short
index : 16;
} RunlengthPacket;
before compiling.
I'm not sure if this will work on other 64-bit machines that pad. If you know a better solution, please send me E-mail. Note, that the Dec Alpha apparently does not pad the structure so ImageMagick should be fine on this particular 64-bit machine.
cat header binary_image | display -write image.miff -
id=ImageMagick columns=640 rows=480 :