exifreader 4.23.4 → 4.23.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -288,6 +288,11 @@ be negative for values that are south of the equator, west of the IRM, or below
288
288
  sealevel. These are often more convenient values for regular use. For some
289
289
  elaboration or if you need the original values, see [Notes](#notes) below.
290
290
 
291
+ If you're having trouble getting the GPS values on Android and are using a
292
+ `type="file"` input to upload the image, make sure you are not setting the
293
+ `accept` attribute on the input element. Apparently setting the `accept` [will
294
+ strip the GPS values](https://github.com/mattiasw/ExifReader/issues/378#issuecomment-2302705983).
295
+
291
296
  ### Using the thumbnail
292
297
 
293
298
  The thumbnail and its details will be accessible through `tags['Thumbnail']`.
package/exif-reader.d.ts CHANGED
@@ -388,11 +388,11 @@ interface ExifTags {
388
388
  // GPS tags
389
389
  'GPSVersionID'?: NumberTag,
390
390
  'GPSLatitudeRef'?: StringArrayTag,
391
- 'GPSLatitude'?: NumberArrayTag,
391
+ 'GPSLatitude'?: TypedTag<[[number, number], [number, number], [number, number]]>,
392
392
  'GPSLongitudeRef'?: StringArrayTag,
393
- 'GPSLongitude'?: NumberArrayTag,
393
+ 'GPSLongitude'?: TypedTag<[[number, number], [number, number], [number, number]]>,
394
394
  'GPSAltitudeRef'?: NumberTag,
395
- 'GPSAltitude'?: NumberTag,
395
+ 'GPSAltitude'?: RationalTag,
396
396
  'GPSTimeStamp'?: NumberArrayTag,
397
397
  'GPSSatellites'?: StringArrayTag,
398
398
  'GPSStatus'?: StringArrayTag,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exifreader",
3
- "version": "4.23.4",
3
+ "version": "4.23.5",
4
4
  "description": "Library that parses Exif metadata in images.",
5
5
  "author": "Mattias Wallander <mattias@wallander.eu>",
6
6
  "repository": {