working fine… nsdata was added from image and reconverted to image again