[20:57:44] <akk> Hi! I'm trying to do a lossless jpeg rotation to get rid of the exif orientation tag, using ImageOps.exif_transpose().
[20:58:25] <akk> I'm deleting the LensSpecification tag to work around the bug https://github.com/python-pillow/Pillow/issues/4346
[20:58:51] <akk> but I'm finding that the resulting image has the other EXIF tags pretty messed up, and I'm not having much luck figuring out how to save and restore them.
[21:09:38] <akk> NM, I thought I was testing with the latest pillow in a virtualenv and I wasn't. With the latest, it works much better, only problem is "Nonfatal Error : '/tmp/rotated.jpg' Illegally sized Exif subdirectory (8224 entries)" but most of the values look right.