From e4d59721e780f6b82ddd0155a71c1a39b5678e5c Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Wed, 31 Jul 2024 14:54:07 -0500 Subject: [PATCH] changing info --- CompressingImages.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CompressingImages.md b/CompressingImages.md index be07616..986d248 100644 --- a/CompressingImages.md +++ b/CompressingImages.md @@ -13,11 +13,12 @@ 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 +### cwebp 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 +cwebp -lossless -z 9 in.webp -o out.webp ``` +while for all other formats squoosh is not recommended, for webp it'll be identical due to cwebp using the same libary as squoosh. ## AVIF As far as I can tell, this format just sucks at its job, at least for lossless images