On 10/24/2012 02:18 PM, Vincent Povirk wrote:
>> I found some code that reads a generic chunk. I see where the size
>> and type are read, where a correctly sized record is allocated and
>> where the data is read into the record.
>
> That code is unused for reading and writing PNG images right
> I found some code that reads a generic chunk. I see where the size
> and type are read, where a correctly sized record is allocated and
> where the data is read into the record.
That code is unused for reading and writing PNG images right now,
sorry for the confusion. Libpng has its own code
Background: I am trying to improve the performance/reliability of
GuildWars2 under wine. In particular, PNG handling seems very
slow, so I am looking at windowscodecs and I seem to be
misunderstanding some things. I have read the PNG spec.
First: The CRC check. The spec says that a 'chunk' c