GIF decode end with stream end is better end with terminator byte? #2248
Unanswered
ZhuXiaoChun
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
GIFDecoder read frames end with terminator byte, but some gif file include terminator byte before end。
In attachment, the GIF include 36 frames (can read by photoshop or System.Drawing.Image), but ImageSharp read stop after 22 frame.
Code example:
https://github.com/ZhuXiaoChun/tmpFiles/blob/main/ImageSharp/GIFDecoder_CodeExample.png
GIF example:
https://github.com/ZhuXiaoChun/tmpFiles/blob/main/ImageSharp/GIFDecoder_GIFExample.gif
Beta Was this translation helpful? Give feedback.
All reactions