aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2023-12-29 08:29:28 -0500
committerPaul Duncan <pabs@pablotron.org>2023-12-29 08:29:28 -0500
commitbfbff41ff21668dce0b1b659ab5ebb84ff183545 (patch)
tree291ab66ca98d3b12ebda015fdea2ff1ed9b510c2
parent7c663c36a720642d434026ebd215269d036212cf (diff)
downloadpablotron.org-bfbff41ff21668dce0b1b659ab5ebb84ff183545.tar.bz2
pablotron.org-bfbff41ff21668dce0b1b659ab5ebb84ff183545.zip
README.md: add note about pngquant
-rw-r--r--README.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/README.md b/README.md
index 5415159..292daa7 100644
--- a/README.md
+++ b/README.md
@@ -102,9 +102,10 @@ To serve this site locally:
Notes:
1. Use `svgmin` to shrink [SVGs][svg].
-2. Use `convert -quality 100 -define web:lossless=true foo.{png,webp}`
+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.
-3. Use the `pe-figure` shortcode for progressive enhanced `figure` tags
+4. Use the `pe-figure` shortcode for progressive enhanced `figure` tags
with a fallback image.
## Deploy Site
@@ -188,7 +189,11 @@ The [Bulma][] [SASS][] is:
"JavaScript LaTeX renderer."
[svg]: https://en.wikipedia.org/wiki/Scalable_Vector_Graphics
"Scalable Vector Graphics"
+[png]: https://en.wikipedia.org/wiki/PNG
+ "Portable Network Graphics"
[hugo-shortcode-table]: https://github.com/pablotron/hugo-shortcode-table
"CSS-only table shortcode for Hugo."
[hugo-shortcode-pe]: https://github.com/pablotron/hugo-shortcode-pe
"Progressive enhancement picture and figure shortcodes for Hugo."
+[pngquant]: https://pngquant.org/
+ "Lossy compression of PNG images."