read image data