Moved data bytes read/write to image object.
Implemented interface to act as delegate.
Changed max/min for corrected image intensities.