diff options
-rw-r--r-- | content/posts/2022-01-28-media-shrinkage.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/content/posts/2022-01-28-media-shrinkage.md b/content/posts/2022-01-28-media-shrinkage.md index 9d1d9fc..8fc3744 100644 --- a/content/posts/2022-01-28-media-shrinkage.md +++ b/content/posts/2022-01-28-media-shrinkage.md @@ -63,7 +63,7 @@ load in [Chrome][]: * I also investigated [AVIF][]. Better compression than [WebP][], worse tool and browser support. Will investigate again later. * Convert [PNG][] to lossless [WebP][] with [ImageMagick][]: - `convert -quality 100 -define webp:lossless=true src.png dst.png` + `convert -quality 100 -define webp:lossless=true src.png dst.webp` * [Apache][] [mod\_deflate][mod_deflate] config: `AddOutputFilterByType image/svg+xml` * [HTTP/2][] in [Apache][]: Install [mod\_http2][mod_http2] and add @@ -77,6 +77,8 @@ load in [Chrome][]: Added [HTTP/2][] note, [Cache-Control][] note, [BREACH][] warning, and [tdewolff/minify][tdewolff-minify] link. +**Update (2022-08-18):** Fixed typo in `convert` command. + [svg]: https://en.wikipedia.org/wiki/Scalable_Vector_Graphics "Scalable Vector Graphics" [minify]: https://github.com/tdewolff/minify/tree/master/cmd/minify |