diff options
author | Paul Duncan <pabs@pablotron.org> | 2024-09-06 07:48:42 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2024-09-06 07:48:42 -0400 |
commit | ed3314aebc1b25f2eb4272bebbce00dfa3af0fb2 (patch) | |
tree | 1e20155f511760060b2f4bf40ff2fd5e1e2af546 | |
parent | 5e2d90c6faa00c58b23bf433c46d9a254dd4568c (diff) | |
download | pablotron.org-ed3314aebc1b25f2eb4272bebbce00dfa3af0fb2.tar.xz pablotron.org-ed3314aebc1b25f2eb4272bebbce00dfa3af0fb2.zip |
README.md: update image compression wording to add gm prefix and jpeg instructions
-rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |