Skip to content
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

[FR]: Parse meta data for images with animation #675

Open
2 tasks done
huandu opened this issue Mar 24, 2025 · 0 comments · May be fixed by #676
Open
2 tasks done

[FR]: Parse meta data for images with animation #675

huandu opened this issue Mar 24, 2025 · 0 comments · May be fixed by #676
Labels
enhancement New feature or request

Comments

@huandu
Copy link

huandu commented Mar 24, 2025

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
@huandu huandu added the enhancement New feature or request label Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant