aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2024-09-06 07:48:42 -0400
committerPaul Duncan <pabs@pablotron.org>2024-09-06 07:48:42 -0400
commited3314aebc1b25f2eb4272bebbce00dfa3af0fb2 (patch)
tree1e20155f511760060b2f4bf40ff2fd5e1e2af546
parent5e2d90c6faa00c58b23bf433c46d9a254dd4568c (diff)
downloadpablotron.org-ed3314aebc1b25f2eb4272bebbce00dfa3af0fb2.tar.bz2
pablotron.org-ed3314aebc1b25f2eb4272bebbce00dfa3af0fb2.zip
README.md: update image compression wording to add gm prefix and jpeg instructions
-rw-r--r--README.md8
1 files 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