[PATCH htdocs 1/7] crush images
Brian Inglis
Brian.Inglis@SystematicSw.ab.ca
Thu Feb 17 15:56:36 GMT 2022
On 2022-02-16 23:27, Brian Inglis wrote:
> On 2022-02-14 19:27, Mike Frysinger wrote:
>> Shrink their sizes while maintaining their content by recompressing
>> and stripping unused metadata.
>
>> download.jpg | Bin 1671 -> 1344 bytes
>> faq.jpg | Bin 1312 -> 983 bytes
>> info.jpg | Bin 1218 -> 886 bytes
>> logo_big2.png | Bin 973 -> 844 bytes
>> mailing.jpg | Bin 1902 -> 1580 bytes
>> news.jpg | Bin 1287 -> 960 bytes
>> properties.png | Bin 49230 -> 36129 bytes
>> 7 files changed, 0 insertions(+), 0 deletions(-)
>
> I've had good results usually about 25-50% of PNG replacing some Cygwin
> images with webp, by tweaking some basic parameters, and comparing
> sizes, although many of your initial file sizes are small by comparison:
>
> Cygwin htdocs:
>
> 639178 png 195942 webp docs/ug/figures/
> 7458 png/bmp 1112 webp docs/xlaunch/
> 3548814 png 898900 webp screenshots/
> 208225 png 30848 webp screenshots/thumbs/
>
> 4403675 png/bmp 1126802 webp total
Converting Newlib-Htdocs images to webp (including newlib.jpg), where
Recomp are your crushed files, and picking the minimum size of each file
converted using various webp options detailed and explained in the attached:
Image Size Recomp Wp-q100 Wp-napp Wp-naz9 Wp-napd Wp-ba Min
Total 59042 44175 53256 25742 39750 27458 26624 21036
--
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.]
-------------- next part --------------
Newlib Htdocs Image Sizes and Webp Options
Image Type Size Recomp Wp-q100 Wp-napp Wp-naz9 Wp-napd Wp-ba Min Options
download jpg 1671 1344 2264 804* 4792 884 854 804 napp
faq jpg 1312 983 1418 474* 2922 520 496 474 napp
info jpg 1218 886 1224 382* 2682 436 404 382 napp
mailing jpg 1902 1580 2582 944* 5252 1026 992 944 napp
news jpg 1287 960 1410 510* 2778 562 540 510 napp
logo_big2 png 973 844 2462 1102 802* 1248 1184 802 naz9
properties png 49230 36129 39962 20768 16394* 22056 21428 16394 naz9
newlib jpg 1449 1449 1934 758 4128 726* 726* 726 ba/napd
Total 59042 44175 53256 25742 39750 27458 26624 21036 Total
Webp Command and Options:
q100 cwebp -q 100
napp cwebp -noalpha -preset picture
naz9 cwebp -noalpha -z 9
napd cwebp -noalpha -preset drawing
ba cwebp -blend_alpha 0xffffff
More information about the Newlib
mailing list