-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Read WebP duration after opening #7311
Conversation
Automatically load duration
for more information, see https://pre-commit.ci
I've created k128#1 with some suggestions. |
_decoder.get_next() may return None
I'm sorry that I'm writing this so late, I was going to test this by myself, but didn't find a time. My assumption that |
As long as feedback is received before a release, I'm happy. Looking at https://developers.google.com/speed/webp/docs/container-api, I don't see another way to get the timestamp. So your suggestion is simply to revert this? I've created #7406. I'll ping @k128 to be abundantly clear what is happening. |
@k128 unfortunately we reverted this due to significant performance degradation. |
Many WebP images don't initially have duration in their info dict. This automatically adds that information during image open.