[PATCH] update site goldstar award types images from jpg/png to webp

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Feb 2 20:41:54 GMT 2022


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:
> > > 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 libwebp package command:
> > > 
> > >      $ cwebp -blend_alpha 0xffffff img/$i.* -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
> > > 
> > > Updating these would make the site more mobile friendly,
> > > quicker for those on low-bandwidth connections,
> > > and cheaper for those on expensive plans.
> > 
> > Nice, pushed with a remade index.html.
> 
> Great, thanks.
> 
> Would you be interested in a similar patch series for the whole site?

It's not *my* interest as such, rather it's a great idea... as would be
any and all patches to make the entire site mobile-aware.  Always feel
free to send patches for stuff like that!


Corinna


More information about the Cygwin-patches mailing list