public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin-patches@cygwin.com
Subject: Re: [PATCH] update site goldstar award types images from jpg/png to webp
Date: Sat, 5 Feb 2022 16:18:31 -0700	[thread overview]
Message-ID: <df2f4097-35c1-78b0-3cb2-30d424fc167e@SystematicSw.ab.ca> (raw)
In-Reply-To: <3f2dd608-351b-c105-7191-e1992f034c9e@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1797 bytes --]

On 2022-02-05 10:50, Marco Atzeri wrote:
> On 05.02.2022 15:26, Jon Turney wrote:
>> On 02/02/2022 20:41, Corinna Vinschen wrote:
>>> On Feb  2 11:49, Brian Inglis wrote:
>>>> On 2022-02-02 02:44, Corinna Vinschen wrote:
>>>>> On Feb  1 23:59, Brian Inglis wrote:
>> [...]
>>>>
>>>> Would you be interested in a similar patch series for the whole site?
>>
>> Do you have any information on how widespread browser support for webp 
>> is?

Sorry did not see that as my ISP outsourced spam filtering to some 
outfit which bounces mailing list messages, triggering confirm 
membership messages to me every few days from various lists.

> https://caniuse.com/webp
> It seems covered by most of recent browsers

Everything from our Qupzilla and newer, but excluding all IE 
(unsupported), and our Midori and Epiphany.

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.
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.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

[-- Attachment #2: cygwin-htdocs-images-webp-sizes.log --]
[-- Type: text/plain, Size: 3045 bytes --]

cygwin-htdocs/xfree images rm'ed or converted to webp

docs/ug/figures/
  27331 png		  19896 webp	cyi01welcome
  19940 png		  11564 webp	cyi02installoption
  36524 png		  24668 webp	cyi03installto
  20054 png		  10810 webp	cyi04directory
  19693 png		  10636 webp	cyi05proxy
  26692 png		  18540 webp	cyi06mirror
  30073 png		  24206 webp	cyi07packages
  17498 png		   9590 webp	cyi08downloading
  15218 png		   7986 webp	cyi09installing
  19474 png		  10242 webp	cyi10createicons
 191721 png		  19436 webp	cyu01appsmenu
  78661 png		   3530 webp	cyw01xdmcp
  49767 png		   9964 webp	cyw02wm
  86532 png		  14874 webp	cyw03multiwindow
 639178 png		 195942 webp	total

docs/xlaunch/
    150 png		    220 webp	moin-www
   7308 bmp		    892 webp	X2
   7458 png/bmp		   1112 webp	total

screenshots/
  36254 png		  24086 webp	cygx-8bpp-openbox-ddd-emacs-20031224-1720
 259927 png		 154098 webp	cygx-multiwindow-20150201
 230963 png		  72060 webp	cygx-multiwindow-aiglx-20090620
  66261 png		  30678 webp	cygx-multiwindow-emacs-exitconfirm-20031224-0010
  70191 png		  31138 webp	cygx-multiwindow-emacs-traymenu-20031224-0010
 103433 png		  53068 webp	cygx-multiwindow-gv-20031224-0010
  80075 png		  37158 webp	cygx-multiwindow-xfig-ddd-20031224-0010
  67471 png		  25954 webp	cygx-nodecoration-openbox-gv-xfig-ddd-20031224-0010
 171316 png		  62504 webp	cygx-openbox-20150201
 120419 png		  50570 webp	cygx-rootless-fvwm2-20031224-0010
 126431 png		  65498 webp	cygx-rootless-openbox-20031224-0010
 139476 png		  52338 webp	cygx-rootless-WindowMaker-20031224-0010
 865313 png		  22892 webp	cygx-xdmcp-fedora-20150201
 222067 png		  96922 webp	cygx-xdmcp-kde3.1-20031224-0010
 989217 png		 119936 webp	cygx-xtow-alphademo-20130805
3548814 png		 898900 webp	total

screenshots/thumbs/
  12010 png		   2098 webp	cygx-8bpp-openbox-ddd-emacs-20031224-1720
  15808 png		   2376 webp	cygx-multiwindow-20150201
  21475 png		   2696 webp	cygx-multiwindow-aiglx-20090620
   9169 png		   1592 webp	cygx-multiwindow-emacs-exitconfirm-20031224-0010
  11353 png		   2002 webp	cygx-multiwindow-emacs-traymenu-20031224-0010
  11417 png		   1856 webp	cygx-multiwindow-gv-20031224-0010
  12427 png		   2278 webp	cygx-multiwindow-xfig-ddd-20031224-0010
  11118 png		   1764 webp	cygx-nodecoration-openbox-gv-xfig-ddd-20031224-0010
  10009 png		   1490 webp	cygx-openbox-20150201
  11243 png		   1888 webp	cygx-rootless-fvwm2-20031224-0010
  12876 png		   2226 webp	cygx-rootless-openbox-20031224-0010
  11850 png		   2000 webp	cygx-rootless-WindowMaker-20031224-0010
  14966 png		    976 webp	cygx-xdmcp-fedora-20150201
  18148 png		   2990 webp	cygx-xdmcp-kde3.1-20031224-0010
  24356 png		   2616 webp	cygx-xtow-alphademo-20130805
 208225 png		  30848 webp	total


 639178 png		 195942 webp	docs/ug/figures/	
   9828 gif				docs/ug/stylesheet-images/	(11)
   7458 png/bmp		   1112 webp	docs/xlaunch/		
  23225 png/gif				images/				(6)
3548814 png		 898900 webp	screenshots/		
 208225 png		  30848 webp	screenshots/thumbs/	

4436728 png/gif/bmp	1126802 webp	total


  reply	other threads:[~2022-02-05 23:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-02  6:59 Brian Inglis
2022-02-02  9:44 ` Corinna Vinschen
2022-02-02 18:49   ` Brian Inglis
2022-02-02 20:41     ` Corinna Vinschen
2022-02-05 14:26       ` Jon Turney
2022-02-05 17:50         ` Marco Atzeri
2022-02-05 23:18           ` Brian Inglis [this message]
2022-02-09 15:32             ` Jon Turney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=df2f4097-35c1-78b0-3cb2-30d424fc167e@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin-patches@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).