I was trying to get a cross-platform version of libpng headers to work, but have been distracted. It works on Windows, but needs further work for it to work on Linux, MacOS X etc.