-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the ability to convert Gif to Webp animated? #317
Comments
Your link seems to just go to their homepage and I couldn't find the specific option you mentioned. Maybe you can provide a quick reproduction with a gif that would be converted into an animated webp normally but doesn't get converted when using imagetools so I can can check it out! |
I think he's referring to
|
Sorry for the delay, I was referring to this section // Convert an animated GIF to an animated WebP
await sharp('in.gif', { animated: true }).toFile('out.webp'); |
From the constructor page of Sharp website, there are 2 references to animated file in the options
Would be great to have an option for webp animated or not in imagetools. |
Any plans to implements this? I guess line return sharp(path, { animated: true }) imagetools/packages/core/src/util.ts Line 6 in c70b97e
|
Hi,
I see that it is possible for Sharp to convert Gif to animated Webp files in their doc. Is it possible in image tools? currently, the conversion works but only to a static image.
Thanks!
The text was updated successfully, but these errors were encountered: