title: Draw simple png image from C++
body: <p>I want to create a png image from my C++ program (and save it to the disk). I need only the very basic operations such as draw line, draw circle, fill rectangle, fill circle, etc.. I want to use a very small (ideally 1 header and 1 source file) and developer friendly library what is open source and cross platform (Windows and Unix required).</p>
  
  <p>I have found PNGwriter, but it isn't compiling for me under Ubuntu 12.04 with g++ 4.6.3 (linking problem) and require a lot of other library to be installed.</p>
  
  <p>Which is the smallest library what meet this basic requirements?</p>