title: Saving a simple image buffer to png in C++
body: <p>I'd like to do this in a platform independant way, and I know libpng is a possibility, but I find it hard to figure out how. Does anyone know how to do this in a simple way?</p>