Compress animated webp
ColinFrick opened this issue · comments
Currently compressing animated webp result in a still image instead of the animation.
Any way to supply an regexp to match animated webp files would be brilliant.
I've added animated: true
to the animated
branch. As a temporary solution, you can try to install with:
npm install -D -E astro-community/astro-compress#animated
I'll look into this further, as there are a few other problems with webp
that do not surface on the regular.
also had same issue with gif (& webp) images where the image becomes static after compression
also had same issue with gif (& webp) images where the image becomes static after compression
@SimplyVoid Try the animated branch: npm install -D -E astro-community/astro-compress#animated
I still haven't updated the integration to detect whether a .webp
is animated, but it should work just fine.