public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ITA] libwebp (ORPHANED YS)
@ 2022-01-31 19:46 Brian Inglis
  2022-01-31 20:21 ` Marco Atzeri
  2022-01-31 20:49 ` Achim Gratz
  0 siblings, 2 replies; 4+ messages in thread
From: Brian Inglis @ 2022-01-31 19:46 UTC (permalink / raw)
  To: cygwin-apps

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

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

[-- Attachment #2: all-images-webp-sizes.txt --]
[-- Type: text/plain, Size: 2453 bytes --]

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/


[-- Attachment #3: dungbomb.webp --]
[-- Type: image/webp, Size: 220 bytes --]

[-- Attachment #4: goldstar.webp --]
[-- Type: image/webp, Size: 284 bytes --]

[-- Attachment #5: goldwatch.webp --]
[-- Type: image/webp, Size: 286 bytes --]

[-- Attachment #6: pinkwatch.webp --]
[-- Type: image/webp, Size: 322 bytes --]

[-- Attachment #7: platinumwatch.webp --]
[-- Type: image/webp, Size: 232 bytes --]

[-- Attachment #8: plush_hippo.webp --]
[-- Type: image/webp, Size: 204 bytes --]

[-- Attachment #9: silverstar.webp --]
[-- Type: image/webp, Size: 174 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ITA] libwebp (ORPHANED YS)
  2022-01-31 19:46 [ITA] libwebp (ORPHANED YS) Brian Inglis
@ 2022-01-31 20:21 ` Marco Atzeri
  2022-01-31 20:27   ` Brian Inglis
  2022-01-31 20:49 ` Achim Gratz
  1 sibling, 1 reply; 4+ messages in thread
From: Marco Atzeri @ 2022-01-31 20:21 UTC (permalink / raw)
  To: cygwin-apps

On 31.01.2022 20:46, Brian Inglis wrote:
> 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
> 

all yours

Thanks
Marco


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ITA] libwebp (ORPHANED YS)
  2022-01-31 20:21 ` Marco Atzeri
@ 2022-01-31 20:27   ` Brian Inglis
  0 siblings, 0 replies; 4+ messages in thread
From: Brian Inglis @ 2022-01-31 20:27 UTC (permalink / raw)
  To: cygwin-apps

On 2022-01-31 13:21, Marco Atzeri wrote:
> On 31.01.2022 20:46, Brian Inglis wrote:
>> 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

Thanks Marco

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ITA] libwebp (ORPHANED YS)
  2022-01-31 19:46 [ITA] libwebp (ORPHANED YS) Brian Inglis
  2022-01-31 20:21 ` Marco Atzeri
@ 2022-01-31 20:49 ` Achim Gratz
  1 sibling, 0 replies; 4+ messages in thread
From: Achim Gratz @ 2022-01-31 20:49 UTC (permalink / raw)
  To: cygwin-apps

Brian Inglis writes:
> 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

Getting the package up to the latest version is good, but I'm not really
fond of the WebP image format at all.

> 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

This is with the lossy WebP compression, right?

Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-31 20:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-31 19:46 [ITA] libwebp (ORPHANED YS) Brian Inglis
2022-01-31 20:21 ` Marco Atzeri
2022-01-31 20:27   ` Brian Inglis
2022-01-31 20:49 ` Achim Gratz

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