From 58220cc55140bdff7f3985926d14bcbe059b626e Mon Sep 17 00:00:00 2001 From: Georges Gomes Date: Tue, 19 Sep 2023 11:03:30 +0200 Subject: [PATCH] WebP lossless explainer --- packages/www/public/features/optimize-images/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/www/public/features/optimize-images/index.md b/packages/www/public/features/optimize-images/index.md index 6346b7d..682ed6d 100644 --- a/packages/www/public/features/optimize-images/index.md +++ b/packages/www/public/features/optimize-images/index.md @@ -102,10 +102,10 @@ will become ``` -If the original image is lossless (`PNG`) then: -- The `AVIF` image set will be compressed with very high quality settings. +If the original image is lossless (`PNG` or `WebP lossless`) then: - The `WebP` image set will be compressed with [near_lossless option](https://sharp.pixelplumbing.com/api-output#webp). +- No `AVIF` image set will be created because AVIF lossless is not very good [(1)](https://www.reddit.com/r/jpegxl/comments/l9ta2u/how_does_lossless_jpegxl_compared_to_png/) [2](https://twitter.com/jonsneyers/status/1346389917816008704?s=19). -If the original image is lossly (`JPEG`) then: +If the original image is lossly (`JPEG` or `WebP lossly`) then: - The `AVIF` image set will be compressed with normal quality settings. - The `WebP` image set will be lossly compressed.