Compress one image.