"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
5 Middleton Lane
Landenberg, PA 19350
USA
image/*; display %s
gunzip ImageMagick-3.6.5.tar.gz
tar xvf ImageMagick-3.6.5.tar
cd ImageMagick
edit magick/X.h and verify the RGBColorDatabase define
xmkmf
make Makefiles
make depend
make -k
configure
make
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
segment
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.
HDF - Hierarchical Data Format.
HISTOGRAM
JPEG - Joint Photographic Experts Group file interchange format.
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.
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 - 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.
gs -h
gs -h
If PDF is not
interpreted, add pdf.dev to the FEATURE_DEVS define in your
Ghostscript Makefile and recompile.
cd ImageMagick
mkdir hdf
cd hdf
zcat HDF3.3r4.tar.Z | tar xvf -
cp HDF3.3r4/hdf/src/* .
edit Makefile; define machine type; for Solaris 2.?
comment out memory.h in hdf/hdfi.h
make libnofortran
cd ..
cd ImageMagick
gunzip -c jbigkit-0.7.tar.gz | tar xvof -
mv jbig-kit jbig
cd jbig
make
cd ..
cd ImageMagick
gunzip -c jpegsrc.v6.tar.gz | tar xvof -
mv jpeg-6 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-0.95.tar.gz | tar xvf -
cd zlib
make
cd ..
mkdir png
cd png
gunzip -c libpng-0.81.tar.gz | tar xvf -
make
cd ..
cd ImageMagick
gunzip -c tiff-v3.4beta018.src.tar.Z | tar xvof -
mv tiff-v3.4beta018 tiff
cd tiff
configure
make
cd ..
cd ImageMagick
mkdir xpm
cd xpm
gunzip -c xpm-3.4f.tar.gz | tar xvof -
mv xpm-3.4f/lib/* .
xmkmf
make
cd ..
make install
rm libXpm*
make -f Makefile.noX
cd ImageMagick
edit Magick.tmpl and define Has???? as instructed
xmkmf
make Makefiles
make clean
make
edit Makefile.in and define Has???? as instructed
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 1/3 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).
cat header binary_image | display -write image.miff -
id=ImageMagick columns=640 rows=480 :