playing around with libpng, figuring it out slowly.
Figured out some libpng stuff.