[l2h] Error while converting imgae

Shigeharu TAKENO shige at iee.niit.ac.jp
Fri Dec 12 00:50:28 CET 2008


shige 12/12 2008
----------------

Christian wrote:
| ############
| Converting image #2
| pstoimg: Error: "/sw/bin/ppmquant -floyd 256 < /tmp/l2h1354/p1370.pnm  
| | /sw/bin/pnmtopng -interlace -trans 'gray85'  > img2.png" failed:  
| Invalid argument
| 
| Error while converting image
| Converting image #1
| pstoimg: Error: "/sw/bin/pnmcrop  < /tmp/l2h1354/p1386.pnm | /sw/bin/ 
| pnmcrop  -bot  -sides  | /sw/bin/pnmcrop  -l  -sides  | /sw/bin/ 
| pnmcrop  -r  -sides  | /sw/bin/pnmcrop  -l  -sides  | /sw/bin/ppmquant  
| -floyd 256 | /sw/bin/pnmtopng -interlace -trans 'gray85'  > img1.png"  
| failed: Invalid argument
| 
| Error while converting image
| ############

To know which command cause the problem, try to do the following:

1. Do "make test 'ARGS=-debug'"
2. By the '-debug' option, image files /tmp/l2hXXXX/pXXXX.pnm will 
  remain (XXXX is certain number). Please check that the file 
  /tmp/l2hXXXX/pXXXX.pnm given to pnmcrop exists and the size is 
  not zero.
3. Try to do the each command above by hand without pipelines:

  /sw/bin/pnmcrop -verbose < /tmp/l2hXXXX/pXXXX.pnm > 1.pnm
    (configure says "pnmcrop -verbose" has no problem)
  /sw/bin/pnmcrop -bot -sides < 1.pnm > 2.pnm
  /sw/bin/pnmcrop -l -sides < 2.pnm > 3.pnm
  /sw/bin/pnmcrop -r -sides < 3.pnm > 4.pnm
  /sw/bin/pnmcrop -l -sides < 4.pnm > 5.pnm
  /sw/bin/ppmquant -floyd 256 < 5.pnm > 6.pnm
  /sw/bin/pnmtopng -interlace -trans 'gray85' < 6.pnm > 7.png

I think you will find which command make the failure.

+========================================================+
 Shigeharu TAKENO     NIigata Institute of Technology
                       kashiwazaki,Niigata 945-1195 JAPAN
 shige at iee.niit.ac.jp   TEL(&FAX): +81-257-22-8161
+========================================================+


More information about the latex2html mailing list