From ed3314aebc1b25f2eb4272bebbce00dfa3af0fb2 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Fri, 6 Sep 2024 07:48:42 -0400 Subject: README.md: update image compression wording to add gm prefix and jpeg instructions --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e044e31..5e4b156 100644 --- a/README.md +++ b/README.md @@ -103,9 +103,11 @@ Notes: 1. Use `svgmin` to shrink [SVGs][svg]. 2. Use [`pngquant`][pngquant] to shrink [PNGs][png]. -3. Use `convert -quality 100 -define web:lossless=true foo.{png,webp}` - to compress existing PNGs as `webp`s. -4. Use the `pe-figure` shortcode for progressive enhanced `figure` tags +3. Use `gm convert -define web:lossless=true foo.{png,webp}` + to compress PNGs and convert them to `webp`s. +4. Use `gm convert foo.{png,webp}` + to compress JPEGs and convert them to to `webp`s. +5. Use the `pe-figure` shortcode for progressive enhanced `figure` tags with a fallback image. ## Article Image Carousels -- cgit v1.2.3