Read image data before SrcImage.new.