images can now be saved as data...

fixed a small bug with roi