Change images from blob to raw