Animated images Support
Rajaniraiyn opened this issue · 1 comments
Sharp supports animated
option to read all frames of an animated png, gif, avif, webp image formats. But, there is no way to use that option in presets. Now by default all animated images are converted to non-animated upon any conversion.
https://github.com/Rajaniraiyn/modern-web-boilerplate , this project uses apng but upon using this plugin it is converted into non-animated form.
Not only this. It would be nicer to enable an option to parse custom options to sharp
Hi!
The default presets provide a withImage
option, which you can use to access the Sharp instance and further customize it.
If you need more control, you can also create your own presets.
You can use the default presets as a starting point to create your own.