From d560d7d426954b08a53a4612823ea72ae422fd12 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Wed, 31 Jul 2024 13:25:58 -0500 Subject: [PATCH] more updates --- CompressingImages.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/CompressingImages.md b/CompressingImages.md index 16127cd..be07616 100644 --- a/CompressingImages.md +++ b/CompressingImages.md @@ -5,18 +5,30 @@ This is for in the future when I want to compress more images or anyone else for 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 tested. ## PNGs: +good ratios, though not as good as other options, though better compatibility ### pngcrush Good, but should be ran before optipng, but isn't as good as it, use in tandom ### optipng The best tool to really shrink pngs to be as small as they can be. ## WEBP +it's better than png, though I have a feeling more could be done to compress these ### ffmpeg so far this seems to be the best way to compress webp images with a command that kinda looks like this one -``` +```bash ffmpeg -i input.webp -c:v libwebp -lossless 1 -q:v 100 -compression_level 6 output.webp ``` -it's better than png, though I have a feeling more could be done + +## AVIF +As far as I can tell, this format just sucks at its job, at least for lossless images + +## JPEGXL +Really good at compression size, though it's not supported anywhere outside of safari as of now. +### cjxl +this command should do the trick for compressing +```bash +cjxl input.png output.jxl -q 100 -e 10 +``` # Vector