On 11/14/2012 10:15 AM, Dmitry Timoshkov wrote:
Max TenEyck Woodbury max@mtew.isa-geek.net wrote:
Would calculating the total number of 'row' calls and reading each row as a 'block in turn be an alternate implementation?
No, your terminology (what is a "row" in PNG?) shows lack of undertsanding of what is a block, or what that APIs are supposed to return. Start with writing a couple of simple tests, and demonstrate that you really undrestand things before asking further questions.
PNG terminology does not mention 'blocks' as such. It talks about 'rows' and 'chunks'. 'Row' is mentioned in the 'libpng' terminology, as in reading a 'row' and 'row_pointer'. It is apparently a unit of processable data. Much as a block is apparently a unit of processable data from the WIC end.
WIC is the end I have only scratched the surface on.