I am resizing an image using PIL but the EXIF info is not getting preserved. I was going through answers in stack overflow but all are very old answers and dont seem to be working now. All are using pyexiv2 but I cant find it on google. Can someone suggest some method /to do the above in python 2.7?
def imageresize(srcfile, destfile, newwid):
    img = Image.open(srcfile)
    print img
    s = img.size 
    ratio = (float(newwid)/s[0])
    newhght = int(ratio*s[1])
    img.resize((newwid, newhght),Image.ANTIALIAS)
    img.save(destfile)
 
    