-
Notifications
You must be signed in to change notification settings - Fork 28.5k
Add support for APNG (Animated PNG) #37247
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
Comments
Is there any progress regarding APNG support ? I currently feel like i need it a lot. Why is APNG format not supported in image widget out of the box ? Its a very common format. |
we are waiting for APNG support :) |
still waiting for the apng support |
I, too, would like to see APNG support! |
Waiting! |
Looking forward to seeing apng support! |
+1 for apng support. In addition as part of the API I'd like to see:
|
(for triage) @cbracken How's this looking for the October milestone? I've had conversations with |
I suspect this will slip by a couple weeks to mid-Nov. It is WIP but there are a lot of edge-cases to test in the spec. |
This comment has been minimized.
This comment has been minimized.
(Critical issue triage) @cbracken How is this looking? Mid-Nov is nearly upon us! Thanks. |
apng support please, |
still waiting for the apng support |
@cbracken I updated the milestone since the previous one expired. Please feel free to update it to something else if that is not realistic. |
I believe this work was reprioritized, but the issue was not updated to match. I will update the priority to match my understanding. I will also repeat my gentle ping to @cbracken to ask if there is a draft PR that could be handed off. |
I'm currently developing custom 2d engine canvas widget and came to conclusion that APNG support is so much required :) WEBP is cool, but not good enough. And not so common as APNG. So, +1 for APNG support. |
still waiting for the apng support |
still waiting for apng support! |
still waiting... |
still waiting for apng support! |
still waiting for apng support!, please :'( |
still waiting for apng support desperately! |
I'm currently working on a stopgap solution for this. We might be able to support this in Skia's PNG codec directly, so I filed a request for that too: https://bugs.chromium.org/p/skia/issues/detail?id=12474 |
Progress update on APNGs (branch diff: flutter/engine@master...bdero:bdero/apng-decoder): Here's a video of this test suite and a few additional images (app: https://github.com/bdero/flutter-apng-tests): Screen.Recording.2021-10-12.at.2.02.32.PM.movThe APNG stream demuxing is stable and the frame timing/disposal ops are looking right, but I'm still working on some essential functionality for getting this merged:
|
Thanks @bdero for looking into this! |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
been 3 years since this issue, @bdero any update? |
This is is great, but much more needed is support for transparent WEBM (VP8 or VP9 codecs); I would use APNG if it was available as a workaround. |
@bdero - maybe you could publish your code as a plugin? |
Thanks @bdero, there is real need for this. |
any update? |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Use case
I want to create a animation picture viewer, and many of the contents are APNG.
APNG is a standard and most of the modern browsers (Firefox, Chrome, Safari and iOS supports it), has good binary size compression compared to GIF, is more colourful, and artists love PNG!
Proposal
It would be great if the
Image
widget supports APNG out of the box. Currently it supports PNG, so the first frame of the file will be shown (APNG has backward compatibility for PNG).The text was updated successfully, but these errors were encountered: