I'd like to adopt and upgrade libwebp to date as it is now up to 1.2.2 from 0.6.1 and available and supported in most distros and all browsers (including our Qupzilla) except (unsupported) IE and older packages:

        https://cygwin.com/packages/summary/libwebp-src.html

The cygport is available in the libwebp package git repo playground branch:

https://cygwin.com/git/?p=git/cygwin-packages/libwebp.git;f=libwebp.cygport;hb=refs/heads/playground

and the packages have been built under scallywag:

        https://cygwin.com/cgi-bin2/jobs.cgi?srcpkg=libwebp

logs in:

        https://github.com/cygwin/scallywag/actions/runs/1771264878

I picked up the package because I thought our images at
cygwin-htdocs/goldstars/img/ seemed large for small icons:

$ wc -c img/*
  3473 img/dungbomb.png
  1074 img/goldstar.png
  1303 img/goldwatch.png
  9382 img/pinkwatch.jpg
   877 img/platinumwatch.jpg
   878 img/plush_hippo.jpg
  1055 img/silverstar.png
18042 total

so converted them and found they were much smaller in webp format, and reconverting using the upgraded package command:

        $ cwebp -blend_alpha 0xffffff img/$img -o images/$i.webp

$ wc -c images/*
  220 images/dungbomb.webp
  284 images/goldstar.webp
  286 images/goldwatch.webp
  322 images/pinkwatch.webp
  232 images/platinumwatch.webp
  204 images/plush_hippo.webp
  174 images/silverstar.webp
1722 total

Those images are attached if anyone wants to standardize the images in the directory and update the img src file types in goldstars/index.html.

Conversion of all cygwin-htdocs web site images to webp (including using `gif2webp -mixed` and converting X2.bmp to png then webp) would reduce the total image sizes from 907008 to 236842: details are attached. Updating these would make the site more mobile friendly, quicker for those on low-bandwidth connections, and cheaper for those on expensive plans.

--
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.]
image-links/    links-webp/
    50  .gif        40  .webp   blackLines
  1039  .gif       328  .webp   caution
 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
 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
  3473  .png       220  .webp   dungbomb
  1074  .png       284  .webp   goldstar
  1303  .png       286  .webp   goldwatch
   995  .gif       200  .webp   home
  1081  .gif       362  .webp   important
   150  .png       220  .webp   moin-www
   964  .gif       190  .webp   next
  1070  .gif       240  .webp   note
  9382  .jpg       322  .webp   pinkwatch
   877  .jpg       232  .webp   platinumwatch
   878  .jpg       204  .webp   plush_hippo
   944  .gif       174  .webp   prev
  1055  .png       174  .webp   silverstar
  1029  .gif       208  .webp   tip
    95  .gif        54  .webp   toc-blank
   843  .gif        76  .webp   toc-minus
   846  .gif        80  .webp   toc-plus
   922  .gif       156  .webp   up
   799  .png      1208  .webp   valid-html40
  2948  .png      1238  .webp   valid-html401
  2414  .png      1262  .webp   valid-xhtml10
  1134  .png      1100  .webp   vcss
  1052  .gif       330  .webp   warning
  7308  .bmp       892  .webp   X2
 15880  .png       864  .webp   ximage
907008          236842 total
image-links/    links-webp/

Reply via email to