[l2h] Image conversion

Julius Smith jos at ccrma.stanford.edu
Fri Feb 17 21:04:03 CET 2006


Your patch works for my test case.  Coincidentally, netpbm-10.31 was 
updated in Red Hat Fedora Core 4 last night on my machine, and its 
pnmtopng now works as well. - Julius

At 05:48 PM 2/16/2006, Shigeharu TAKENO wrote:
>shige 02/17 2006
>----------------
>
>| Date: Thu, 16 Feb 2006 21:40:59 +0900 (JST)
>| From: Shigeharu TAKENO <shige at iee.niit.ac.jp>
>| To: jos at ccrma.stanford.edu
>| Cc: latex2html at tug.org, julius.smith at gmail.com
>| Subject: Re: [l2h] Image conversion
>=====
>| This seems to be an error of pnmtopng (13 = SIGPIPE). Please
>| check pnmtopng. My pnmtopng of netpbm-10.30 also does not run
>| correctly, so I am now using it of netpbm-10.26 (on Solaris 9).
>
>Please try to use the following patch for pnmtopng.c of
>netpbm-10.31.
>
>----- From here -----
>diff -uN netpbm-10.31/converter/other/pnmtopng.c.ORG 
>netpbm-10.31/converter/other/pnmtopng.c
>--- netpbm-10.31/converter/other/pnmtopng.c.ORG Mon Oct 17 04:36:43 2005
>+++ netpbm-10.31/converter/other/pnmtopng.c     Fri Feb 17 10:44:02 2006
>@@ -296,7 +296,7 @@
>      OPTENT3(0, "ztxt",             OPT_STRING,    &cmdlineP->ztxt,
>              &ztxtSpec,             0);
>      OPTENT3(0, "modtime",          OPT_STRING,    &modtime,
>-            &modtimeSpec,          0);
>+            &cmdlineP->modtimeSpec,          0);
>      OPTENT3(0, "palette",          OPT_STRING,    &cmdlineP->palette,
>              &paletteSpec,          0);
>      OPTENT3(0, "compression",      OPT_UINT,
>----- To here -----
>
>+========================================================+
>  Shigeharu TAKENO     NIigata Institute of Technology
>                        kashiwazaki,Niigata 945-1195 JAPAN
>  shige at iee.niit.ac.jp   TEL(&FAX): +81-257-22-8161
>+========================================================+


Julius O. Smith III <jos at ccrma.stanford.edu>
Prof. of Music and Assoc. Prof. (by courtesy) of Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/  



More information about the latex2html mailing list