I really think having our image processing handled by govips which wraps libvips could provide a lot of additional functionality and could potentially increase performance. Here are some tests to check out:
ImageMagick is often recommended for image optimization . This is a good tool, but the result of its work usually needs additional optimization, while other tools do better. We recommend libvips , although it is a lower-level tool and more demanding on the technical skills of the user. At ImageMagick also periodically found security vulnerabilities, which are desirable to know about.
Although it’s definitely a plus for libvips, and must-have for any image processor, Hugo does support webp (in case you hadn’t known). However, govips (libvips) provides a plethora of other great features as well.