Worked on the image_data object to allow direct reading and added TIFF support