hbghlyj 发表于 2022-7-15 16:19
I have filed a bug report at bugzilla 1779791. It should be classified in Graphics: ImageLib compon ...
Timothy Nikkel :
So it looks like MS Paint is not apng aware and it just moves/saves the edited IDAT at/to the end of the file, which messes up the apng sequence numbering and gives us two fcTL in a row at the start where the IDAT used to be. Per spec wiki.mozilla.org/APNG_Specification these are supposed to be rejected. But it seems like we could be more permissive in allowing this kind of error.