Join Nostr
2025-02-20 08:34:27 UTC
in reply to

hanno on Nostr: You may compare your 32x32 pixel PNG icon to your SVG and think that it's smaller. ...

You may compare your 32x32 pixel PNG icon to your SVG and think that it's smaller. But your PNG is compressed, your SVG isn't. (It's XML, essentially a text format.) Yet, your web server can compress it on the HTTP layer. You cannot further compress PNG or JPG or AVIF usually, but you can compress SVG. The data transmitted is smaller than the file size for SVGs, but not for PNG/JPG/AVIF.