On 05/02/2022 23:18, Brian Inglis wrote:
One issue I found is that our DocBook 4 does not support webp, so there
is currently no support for webp images in generated docs from
cygwin-apps/cygwin-x-doc, so no value in converting, unless we want to
script an update to the image sources in the *generated* html.
This affects only cygwin-htdocs/xfree/docs/ug/figures/ ~640KB reduced to
~195KB in the attached image summary log.
Those docs are currently produced by an ancient docbook toolchain (using
jade), so the whole thing could do with modernizing (assuming it's
worthwhile having at all...).
Directory summary totals are grouped at the bottom to show overall numbers.
It also looks like cygwin-htdocs/xfree/docs/ug/stylesheet-images/ and
cygwin-htdocs/xfree/images/ are not referenced anywhere so can be rm'ed:
checked with egrep -iR 'png|gif|bmp' cygwin-htdocs/.
So the net effect would be a reduction in image sizes from <4MB to <1MB.
I've removed cygwin-htdocs/xfree/images/. Thanks for pointing that out.
I'm not sure what to do about that stylesheet. It looks like was
half-written when added (in 2001!).