changed the data type of image; CompressedImage