-
Notifications
You must be signed in to change notification settings - Fork 9
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
Check if file is apng #5
Comments
This should be possible by creating a new function that only searched to see if the |
My 0.02 on this is looking for |
Would need a helper func to scan only as far as acTL or until first IDAT. We could, as a convenience, return the acTL information if it exists as well. Perhaps vaguely like: func CheckAPNG() (isAnimation bool, frameCount int, playCount int) |
It is probably unnecessary to have the above convenience function, as the end-user can actually extract the data if they need more information. I believe |
This implementation in JS looks like it does what you describe in terms of scanning for the chunk, then returning immediately: https://github.com/qzb/is-animated/blob/master/lib/types/png.js |
It would be nice if theres a simple function to check if a file is actually an apng?
The text was updated successfully, but these errors were encountered: