assume I have a image pic.jpg
. I read the image and then save it.
from PIL import Image
im = Image.open('pic.jpg')
im.save('pic1.jpg', 'jpeg')
The md5 sum of the two pictures are different:
$ md5sum pic.jpg
3191102e44fa5ebbb2aa52e042066dad
$ md5sum pic1.jpg
a6b17e3af3ff66715a2326db33548d11
Do I still have the original image if I read and then save with PIL?