On Mar 13, 2013, at 10:25 PM, Toby Thain <toby at telegraphics.com.au> wrote:
There is a very good library for working with PNG:
libpng.
http://www.libpng.org/pub/png/libpng.html
Most likely the answer is in its source code. It would save you a lot of time just to use
that library, too.
Source, yes. It's probably not a terrible candidate for using
wholesale on Amiga (both it and zlib, which it uses for
compression/decompression, are fairly lightweight), but for
specific purposes, a custom implementation may be faster and/or
smaller.
- Dave