title: Boost::GIL How to save image as JPEG or PNG into char*?
body: <p>So I see samples all around on saving into file. But I wonder if it is possible to save into char* or string instead of file - so to say keep it in memory?</p>