web2png \- convert a web tree from using GIFs to using PNGs
.SH SYNOPSIS
web2png [-adnrv] [directory...]
.SH DESCRIPTION
entire web page hierarchies from using GIFs to using PNGs. It does image conversion and patches IMG SRC references in web pages.
the current directory is assumed.
leaves alone GIFs that have either multiple images or transparency, because these will not display properly in all current browsers. It also does not reconvert GIFs that already have corresponding PNGs (e.g. the same name except for the .gif file extension). The original GIFs are left in place.
secure HTML, HTML inclusion, PHP page, JavaScript program or Cascading
.inc, .php, .js, .css). In these pages, it fixes each reference to each successful converted GIF to point at the PNG. References in relative HREF and BACKGROUND tags are recognized by filename and fixed (any base directory declared by a BASE tag will be be prepended to the relative URL). References that are HTTP URLs are matched against the list of convertible GIFs by basename; if there is such a match, the contents of the URL is retrieved and compared to the convertible GIF.
modification before being altered; otherwise, a copy of the original of each modified web page is left in the same directory, with the additional extension .bak.
.TP
.B -a
transparency.
.TP
.B -d
\&.bak files.
.TP
.B -n
be done (and on GIFs that use transparency or have multiple images),
but neither converts GIFs nor touches web pages.
.TP
.B -r
by a previous run (or, if the files were under version control, revert
them). Remove PNGs with corresponding GIFs.
.TP
.B -t
.TP
.B -v
amount of work. The changes it makes will be fully reversible with -r until you run it in -d mode.
installed and accessible on your system in order for web2png to run.
.SH NOTE
the appearance of the page, by knowing from context that they will always place within an area of fixed and solid color. Web2png can't deduce when this will be, so it doesn't try; but it may be useful to apply gif2png with the -b option by hand.
.SH KNOWN PROBLEMS
confused into incorrectly patching an HTTP URL reference to a GIF into an invalid reference to a PNG if the GIF matches a local target GIF by both basename and binary content, but actually lives on another host.
that by hand. Other dynamic-content methods (such as server-side inclusions) may also require hand-hacking.
different information, the -r mode will clobber them.
.SH SEE ALSO
gif2png(1)
.SH AUTHORS