daniellerch / python-jpeg-toolbox

The JPEG toolbox for Python
MIT License
12 stars 7 forks source link

EXIF data appears to be removed #6

Open aniellod opened 3 months ago

aniellod commented 3 months ago

Running a load then save of an image containing EXIF data appears to remove it. Can removal of EXIF either be made optional or updated to retain the EXIF information?

aniellod commented 2 months ago

The missing EXIF is from the User Comment tag JPEG APP1 (??? bytes): ExifByteOrder = MM

[IFD0 directory with 1 entries]
| 0) ExifOffset (SubDirectory) -->
| + [ExifIFD directory with 1 entries]
| | 0) UserComment