This is for in the future when I want to compress more images or anyone else for that matter.
Good at reducing the pallet, a first step for images that have a limited number of colors, bad at actually compressing things though, for all formats except WEBP and PNG.
Good ratios, though not as good as other options, though better compatibility.
(you can also use through squoosh with the same results) Seems to be the best of all of the options, not sure if it's all you would need, but it did shrink pngs further than the other two tools afterwards.
oxipng -o max --strip all --alpha <filename here>all may be replaced with safe if you want to be a bit safer.
Good, but should be ran before optipng, but isn't as good as it, use in tandom.
The second best tool to really shrink pngs to be as small as they can be.
It's better than png, though I have a feeling more could be done to compress these
So far this seems to be the best way to compress WEBP images with a command that kinda looks like this one:
cwebp -lossless -z 9 in.webp -o out.webpWhile for all other formats squoosh is not recommended, for WEBP it'll be identical due to cWEBP using the same libary as squoosh.
As far as I can tell, this format just sucks at its job, at least for lossless images
Really good at compression size, though it's not supported anywhere outside of Safari as of now.
This command should do the trick for compressing:
cjxl input.png output.jxl -q 100 -e 10Great tool! If anyone knows how to squish them further, let me know! Some manual work may go a long way to help shrink SVGs, though I'm not doing that right now lol.
I may look into other formats soon as well, though these are the main two I'm currently using.