imagemin-webp icon indicating copy to clipboard operation
imagemin-webp copied to clipboard

Animated webp support?

Open SnO2WMaN opened this issue 6 years ago • 2 comments

I used this plugin,parcel-plugin-imagemin to minify animated WebP images , but it's failed with error "not supporting animated WebP".

So, imagemin-webp won't support animated WebP?

SnO2WMaN avatar Aug 24 '18 08:08 SnO2WMaN

I though animated webp were not supported by this library, but I did few test and it mostly seems to depend on the input file format.

From a *.png:

  • 💚 transparency works
  • 🔴 animation are lost (apng: sample)

From a *.gif:

  • 💚 transparency works
  • 💚 animation work

From another *.webp:

  • 🔴 transparency is lost (sample)
  • 🔴 animation are lost (sample)

It's really inconsistent from one format to another and webp -> webp (to resize, crop, ...) is badly supported

kefniark avatar Sep 17 '19 14:09 kefniark

+1

Preen avatar Oct 24 '19 07:10 Preen