[l2h] Strange pstoimg error...

Avinash Chopde avinash@acm.org
Sat, 19 May 2001 21:20:47 -0400


Even when I provide -transparent -white -antialias_text -antialias
to latex2html, some of the .png images I get have a non-transparent
grey background. [Only some images have this problem ... ]

So then I tried "-image_type gif", but that gives a strange error -
pstoimg fails - but when I run the exact same pstoimg commands
by hand (pnmcrop, ppmtogif etc) on the exact same files, it works!

Here's the log (DEBUG on) - any ideas?

Running "/usr/local/netpbm/bin/ppmquant -floyd 256 <
/tmp/l2h1708/p1819.pnm | /usr/local/netpbm/bin/ppmtogif -interlace
-trans '#ffffff'  > img1.gif"
ppmquant: making histogram...
ppmquant: 13 colors found
ppmquant: choosing 256 colors...
ppmquant: mapping image to new colors...
ppmtogif: computing colormap...
ppmtogif: 13 colors found
pstoimg: Error: "/usr/local/netpbm/bin/ppmquant -floyd 256 <
/tmp/l2h1708/p1819.pnm | /usr/local/netpbm/bin/ppmtogif -interlace
-trans '#ffffff'  > img1.gif" failed: Illegal seek

Error while converting image


-- 
Avinash Chopde
e-mail: avinash@acm.org
http://www.aczone.com/