[cpp] Add a new 'image' class.

This implicitely shared class represents the data buffer of an "image",
with direct access to the data.
It also has a function to save to file (png/jpeg).

Still a FIXME in the copy() method and in the save() (for mono images only).
5 files changed