Clean up the image