Welp:

    After finding the the api changed radically from imagemagick-5.2.9 to
imagemagick-5.4.1, I rewrote the palm stuff and the Makefile.in to match.
Here's the changes for imagemagick-5.4.1

Place palm.c and coders541.diff in imagemagick/coders and apply the diff.
Place magick.diff in imagemagick/magick and apply the diff.
Configure and make with your chosen options.

for 1 bit depth use:
    convert -monochrome picture_file palm:new_file (or new_file.palm)
for 2 bit depth use:
    convert -colors 4 -colormap GRAY picture_file palm:new_file
for 4 bit depth use:
    convert -colors 16 -colormap GRAY picture_file palm:new_file
for 8 bit depth (color) use:
    convert -colors 256 picture_file palm:new_file
for 8 bit depth (color) with custom colormap use:
    convert -colors 256 -comment colormap picture_file palm:new_file

Cheers!!

                              Chris

Christopher R. Hawks Software Engineer
Syscon Plantstar a Division of Syscon International
-------------------------------------------------------------------------
Let's call it an accidental feature.
    -- Larry Wall



Attachment: magick541.tgz
Description: File attachment

Reply via email to