How to use PNG's IDAT chunk?

前端 未结 3 424
鱼传尺愫
鱼传尺愫 2021-02-04 12:12

I\'m trying to understand how data are stored into IDAT chunk. I\'m writing a little PHP class and I can retrieve most of chunks information but what I get for IDAT doesn\'t mat

3条回答
  •  独厮守ぢ
    2021-02-04 12:42

    00000000 ffffff00 ffffff00 0000xxxx
    black    white    white    black
    

    That's what I can tell (which is correct) ... but you are missing 2 bytes at the end.

提交回复
热议问题