Added image exporting.
Merge