The SVG logo on the curl.se front page shrunk from 8658 to 2787 bytes with @vsz's magic, with no visual difference!
@bagder @vsz any details on how?
@psyhackological @bagder By manually merging same-color paths (I used Inkscape), then running two nice tools (the winning combination was svgcleaner and svgo in this case) on the file. It helps to keep the resolution low and align objects on even pixels if possible. More details in https://github.com/curl/curl-www/blob/04a61ba9477e198d8d06d37b87ce55909edeb530/logo/curl-logo-render.sh
curl-www/logo/curl-logo-render.sh at 04a61ba9477e198d8d06d37b87ce55909edeb530 · curl/curl-www

The curl.se website. Contribute to curl/curl-www development by creating an account on GitHub.

GitHub

@vsz @bagder
> # requires rsvg-convert, imagemagick, svgcleaner, svgo, jpegoptim, mozjpeg, advpng

Woah, nice work.

@vsz @bagder I wonder how this pipeline can be applied for example: https://github.com/Arcticons-Team/Arcticons
GitHub - Arcticons-Team/Arcticons: A monotone line-based icon pack for android

A monotone line-based icon pack for android. Contribute to Arcticons-Team/Arcticons development by creating an account on GitHub.

GitHub
@psyhackological @bagder It certainly can be applied, keeping in mind that this is akin to a final rendering step: SVGs lose metadata and structure, which is practical for display (and not so for editing or archival). Pipeline/distribution needs to tackle this.
@vsz @bagder same idea as minified files or "baked" for rendering purposes. The original project can be left the same. Still interesting, thanks.