Thursday 19 August 2021

Copy all exif tags from one jpeg to another

I am trying to figure out the best way to copy all exif tags from one JEPG to another. Looks like ExifInterface (https://developer.android.com/reference/android/media/ExifInterface) is my best bet.

However,

  1. There is no way to grab all tags contained in one JPEG.
  2. The full list of all tags in ExifInterface class is private/protected.

Is there a better option than adding all ~100 tag names to my class? I don't really want to modify code every time I discover that an Android camera is adding a new exif tag that I did not account for.



from Copy all exif tags from one jpeg to another

No comments:

Post a Comment