Splitting APNG into png images with PHP

后端 未结 2 1972
遥遥无期
遥遥无期 2021-01-26 19:05

I have a php code that splits an animated PNG image (APNG) into frames, but there is some kind of error. The images that are created by the function are not valid (PHP does not

2条回答
  •  一个人的身影
    2021-01-26 19:15

    The CRC needs to be recomputed when you change a chunk name from fdAT to IDAT, and remove 4 data bytes, to account for the new chunk name and data.

提交回复
热议问题