Warning - for use with old version of Maverik (5.4) click here for latest versions

Enabling use of convert

Maverik only reads and writes images in PPM or PNG format, however by downloading the ImageMagick library you can enable automatic conversion of most image types.

Install ImageMagick

Make sure cygwin jpeg, tiff and png options are installed. Download ImageMagick-4.2.9.tar.gz from www.wizards.dupont.com. Edit the configure file so the PNG checks are ignored (so that it compiles with PNG support) otherwise configure rejects it. Find the lines with "#define HasPNG 1" and make sure they get parsed (by altering the if statements). The summary given after running configure should have -ltiff, -ljpeg and -lpng in the link libraries.

configure --with-x=no --with-perl=no

Edit magick/delegates.c and change "delegates.mgk" to "/delegates.mgk"

make

copy delegates/delegates.mgk to /delegates.mgk

Copy or link commands (in particular convert) to a bin directory someplace.

Enabling convert in Maverik (no need to change anything if you have used my updates)

Download my mav_palette.c.gz with some minor changes. gunzip to src/kernel.

Add -DMAV_CYGWIN to the CFLAG line in the top level Maverik Makefile.

make

No changes are needed to applications or application Makefiles.