Skip to content

Commit 5c62b18

Browse files
authored
Android: Fix return type of ISO
Returning an array is inconsistent with IOS and also gives some numbers that can't even be easily converted to the 'real' ISO you just get back automatically when this field is a string.
1 parent 00da8d1 commit 5c62b18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

android/src/main/java/com/lodev09/exify/ExifyTags.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ val EXIFY_TAGS = arrayOf(
6868
arrayOf("double", ExifInterface.TAG_FOCAL_PLANE_X_RESOLUTION),
6969
arrayOf("double", ExifInterface.TAG_FOCAL_PLANE_Y_RESOLUTION),
7070
arrayOf("int", ExifInterface.TAG_GAIN_CONTROL),
71-
arrayOf("array", ExifInterface.TAG_ISO_SPEED_RATINGS),
71+
arrayOf("string", ExifInterface.TAG_ISO_SPEED_RATINGS),
7272
arrayOf("string", ExifInterface.TAG_IMAGE_UNIQUE_ID),
7373
arrayOf("int", ExifInterface.TAG_LIGHT_SOURCE),
7474
arrayOf("string", ExifInterface.TAG_MAKER_NOTE),

0 commit comments

Comments
 (0)