"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
xmkmf make Makefiles make depend make -k
configure makeIf 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
Concerning iterative JPEG compression: see Kinoshita and Yamamuro, Journal of Imaging Science and Technology, Image Quaility 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 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.4beta024.src.tar.Z | tar xvof - mv tiff-v3.4beta018 tiff cd tiff configure make cd ..
cd ImageMagick gunzip -c xpm-3.4g.tar.gz | tar xvof - mv xpm-3.4g xpm cd xpm xmkmf make Makefiles 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 :