Hi Vegard -- Thanks for pngview, very helpful.  A couple tiny mods to fix compilation errors on some systems.  Kind regards, J.

Added trivial Makefile and test image; updated README to suit.

Some systems require libraries to be after the files which require them;
previous compilation order gave undefined reference errors.

Tested on GCC 4.6.3 on Ubuntu 12.04