From c70da1cea191e506232948da4fb7326ec463c0d7 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sat, 4 Jan 2025 00:14:09 -0500 Subject: [PATCH] sync EXIF metadata stripping with Exif.java --- app/src/main/java/app/grapheneos/camera/ExifHelper.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/app/grapheneos/camera/ExifHelper.kt b/app/src/main/java/app/grapheneos/camera/ExifHelper.kt index cdf4d8703..4e97e8f7c 100644 --- a/app/src/main/java/app/grapheneos/camera/ExifHelper.kt +++ b/app/src/main/java/app/grapheneos/camera/ExifHelper.kt @@ -13,7 +13,7 @@ private val exifAttributes = arrayOf( ExifInterface.TAG_BITS_PER_SAMPLE, ExifInterface.TAG_COMPRESSION, ExifInterface.TAG_PHOTOMETRIC_INTERPRETATION, -// ExifInterface.TAG_ORIENTATION, + //ExifInterface.TAG_ORIENTATION, ExifInterface.TAG_SAMPLES_PER_PIXEL, ExifInterface.TAG_PLANAR_CONFIGURATION, ExifInterface.TAG_Y_CB_CR_SUB_SAMPLING, @@ -145,6 +145,7 @@ private val exifAttributes = arrayOf( ExifInterface.TAG_INTEROPERABILITY_INDEX, ExifInterface.TAG_THUMBNAIL_IMAGE_LENGTH, ExifInterface.TAG_THUMBNAIL_IMAGE_WIDTH, + //TAG_THUMBNAIL_ORIENTATION, ExifInterface.TAG_DNG_VERSION, ExifInterface.TAG_DEFAULT_CROP_SIZE, ExifInterface.TAG_ORF_THUMBNAIL_IMAGE,