Parsley is a collection of functions for reading binary formats. Currently, it doesn't include much, but is now a dependency of pngload. https://github.com/mfiano/parsley