On Sat, Mar 16, 2002 at 01:17:03PM -0700, Adam McDaniel wrote:
[...]
> $ giftopnm /path/to/image.gif > /tmp/image
> $ cat /tmp/image | ppmquant -map /usr/local/netpbm/lib/palmgray4.map| ppmtopgm | 
>pnmtopalm -depth 4 -verbose

I got exactly the same error.

[...]
> On mine, I am using Debian Unstable with netpbm 9.20 and a complete
> image worked for me. If the above still fails, try downgrading to this
> version and running the test again.

I downgraded to 9.20, and that seems to do the trick, but it was a bit of
work.  For what it's worth, here is what I did to get it working:

I got netpbm-9.20-2.src.rpm for RawHide 1.0 from rpmfind.net.  I then built
netpbm-9.20-2.i386.rpm, netpbm-progs-9.20-2.i386.rpm, and
netpbm-devel-9.20-2.i386.rpm with the command:
  rpm --rebuild netpbm-9.20-2.src.i386.rpm.
I installed all three of these rpms, but they did not include the map files,
so I got the latest netpbm source code from netpbm.sourceforge.net,
extracted the map files, and copied them to /usr/lib.  Finally, I edited my
~/.pluckerrc and changed the map section as follows:

;;
;; Name (and maybe path) for the color maps used by
;; ppmquant:
;;
palm1bit_graymap_file     = /usr/lib/palmgray1.map
palm2bit_graymap_file     = /usr/lib/palmgray2.map
palm4bit_graymap_file     = /usr/lib/palmgray4.map
palm8bit_stdcolormap_file = /usr/lib/palmcolor8.map


Thanks for the help,
Jason

-- 
Jason Day                                       jasonday at
http://jasonday.home.att.net                    worldnet dot att dot net
 
"Of course I'm paranoid, everyone is trying to kill me."
    -- Weyoun-6, Star Trek: Deep Space 9

Reply via email to