nicolashmln / strapi-plugin-responsive-image

Custom responsive image formats for https://strapi.io
154 stars 28 forks source link

Gif support #14

Open Krislunde opened 2 years ago

Krislunde commented 2 years ago

Hi!

I suggest adding some override options for ignoring certain file types maybe? This plugin is excellent, but it will also resize gifs, creating new non-animated versions that might get used instead of the original source when srcset is used on the frontend.

I don't think animated resizing is supported in sharp yet, but following this pull, and this issue it looks like sharp will add the functionality any day now.

Krislunde commented 2 years ago

Sharp now has support for this (animated gif and WebP) as of v0.30.0

nicolashmln commented 2 years ago

Thanks I'll have a look

anton-zyrianov commented 4 months ago

I created this PR to solve animated gif problem https://github.com/nicolashmln/strapi-plugin-responsive-image/pull/50