|
From: | Elias Mårtenson |
Subject: | Re: [Bug-apl] chunk length specified across bytes |
Date: | Wed, 9 Sep 2015 11:44:37 +0800 |
Hi Bug APL,The PNG spec says that the length of a "chunk" (their term, not mine) is specified in the first four bytes of the file. When I read it in, the first four values are :0 0 32 0and the length is almost certainly not 32.A smaller chunk that was 4 had its first four bytes as:0 0 0 4What is the weighting given to these values (if that even is the right question to ask)?-Alex
[Prev in Thread] | Current Thread | [Next in Thread] |