At 08:46 AM 1/10/2000 Jeremy Wadsack sez:
>"Paul A. Franz, P.E." wrote:
>
> > I am thinking of editing the source for analog to use png but most
> > certainly will botch that up not knowing enough to keep it from being a
> > major project.
>
>I agree with Stephen, that would be wuite simple. You could load all the 
>source
>into your favorite editor and search and replace"gif" for "png". Not a big
>project.

all the lines appear to be in output2.c:

[root@Beaker analog4.01]# cat output2.c | grep -nC gif
168-    fputs("<img src=\"", outf);
169-    htmlfprintf(outf, od->outstyle, od->imagedir, &(od->html), FALSE);
170:    fputs("html2.gif\"\n", outf);
171-    fputs("alt=\"HTML 2.0 Conformant!\"></a>\n", outf);
172-  }
--
699-      mprintf(outf, pagewidth, "%c", markchar);
700-    else
701:      mprintf(outf, pagewidth, "<img src=\"%sbar%c1.gif\" alt=\"%c\">",
702-          imagedir, barstyle, markchar);
703-    mprintf(outf, pagewidth, ") %s ", lngstr[represents_]);
--
1013-    for (j = 32; j >= 1; j /= 2) {
1014-      while (y >= j) {
1015:   fprintf(outf, "<img src=\"%sbar%c%d.gif\" alt=\"", imagedir,
1016-           barstyle, j);
1017-   if (first) {

The hassle is that the html also has to be changed to properly display the 
png files.


> > Maybe someone will come up with a png plugin for browsers so they work as
> > well as they do in flash with graphics produced by Macro Media's Fireworks.
> > That is really nice and they are fast too.
>
>Already done. See the PNG page already mentioned.

I saw mention of it but not the actual link.

Paul Franz

PAF Consulting Engineers       |  427 - 140th Ave NE
(425)641-8202 voice            |  Bellevue, WA 98005

------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to