Automatable Defensive Core Image Compression With Imagemin Guard 4 (Now With No Imagemin)
Published on October 9, 2024, filed under Development (RSS feed for all categories).
A brief release note, Imagemin Guard was just updated to move away from the unmaintained Imagemin family, and to improve code, tests, documentation, and usability.
Why would this move away from Imagemin be important? Because it’s generally not helpful, and even poses a risk for everyone using a software, to maintain a piece of software whose dependencies are not being maintained—and that therefore is only half-maintained. The situation is much better now, with immediate dependencies all showing some form of a heartbeat.
Why would Imagemin Guard itself be interesting? Because it’s actually a pretty neat helper (fair enough, my words) to make sure all images are always compressed near-losslessly before independently doing further optimizations. There’s no reason to store and potentially ship images for which there’s a smaller version of comparable quality. (You can try Imagemin Guard out without setting up any automation by going to one of your projects and running npx @j9t/imagemin-guard.)
What if I’m selling snake oil here, or if anything goes wrong? First, if you’re using version control (which you certainly are), you can always revert. Then, for any issues—the update doesn’t introduce breaking changes but was substantial, so bear with me—, please report them.
For more information, check out the docs as well as past posts. Happy image(min)-guarding!
About Me
I’m Jens (long: Jens Oliver Meiert), and I’m a frontend engineering leader and tech author/publisher. I’ve worked as a technical lead for companies like Google and as an engineering manager for companies like Miro, I’m a contributor to several web standards, and I write and review books for O’Reilly and Frontend Dogma.
I love trying things, not only in web development (and engineering management), but also in other areas like philosophy. Here on meiert.com I share some of my experiences and views. (Please be critical, interpret charitably, and give feedback.)
Read More
Maybe of interest to you, too:
- Next: JS Frameworks, in Their Own Words (by Word Cloud)
- Previous: What Germany May Not Have Learned From the Holocaust
- More under Development
- More from 2024
- Most popular posts
Looking for a way to comment? Comments have been disabled, unfortunately.
Get a good look at web development? Try WebGlossary.info—and The Web Development Glossary 3K. With explanations and definitions for thousands of terms of web development, web design, and related fields, building on Wikipedia as well as MDN Web Docs. Available at Apple Books, Kobo, Google Play Books, and Leanpub.