Reputation: 21
I am opening a previously saved image and writing a few attributes based on data that comes in a bit later in the process. When I save the attributes the image is overwritten(which I would expect). However, all the image data is missing and it is only header information. Am I missing something?
ExifInterface exif = new ExifInterface(m_LastPictureName);
exif.SetAttribute(ExifInterface.TagArtist, "xxxx");
exif.SaveAttributes(); // Currently this is dropping ALL image data but saving only EXIF information - why???
Thanks for having a look.
Upvotes: 0
Views: 301
Reputation: 21
My fix was to install the Android.Support.Media.ExifInterface in place of Android.Media.ExifInterface.
Upvotes: 1