Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the problem
Besides image sizes, I want to read more metadata from animated images like GIF and WebP, e.g. frame count, animation duration, etc. As parsing animation files at runtime is relatively expensive, it would be great if flutter_gen
can parse this information for me.
Describe the solution
Add a new optional option parse_animation
in config. If it's true, flutter_gen
should parse animated images and write parsed information in AssetGenImage
.
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct