exifreader 4.28.0 → 4.28.1

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.
Files changed (2) hide show
  1. package/exif-reader.d.ts +13 -1
  2. package/package.json +1 -1
package/exif-reader.d.ts CHANGED
@@ -208,6 +208,7 @@ export interface ExpandedTags {
208
208
  gps?: GpsTags
209
209
  photoshop?: PhotoshopTags;
210
210
  makerNotes?: CanonTags;
211
+ composite?: CompositeTags;
211
212
  }
212
213
 
213
214
  interface GpsTags {
@@ -264,6 +265,17 @@ interface CanonTags {
264
265
  };
265
266
  }
266
267
 
268
+ interface CompositeTags {
269
+ ScaleFactorTo35mmEquivalent?: {
270
+ value: number,
271
+ description: string,
272
+ },
273
+ FieldOfView?: {
274
+ value: number,
275
+ description: string,
276
+ }
277
+ }
278
+
267
279
  export function load(data: ArrayBuffer | SharedArrayBuffer | Buffer): Tags;
268
280
  export function load(data: ArrayBuffer | SharedArrayBuffer | Buffer, options: {expanded: true, includeUnknown?: boolean, length?: number, async?: false}): ExpandedTags;
269
281
  export function load(data: ArrayBuffer | SharedArrayBuffer | Buffer, options: {expanded?: false, includeUnknown?: boolean, length?: number, async?: false}): Tags;
@@ -525,7 +537,7 @@ interface IccTags {
525
537
  [name: string]: ValueTag;
526
538
  }
527
539
 
528
- export type Tags = XmpTags & IccTags & PngTags & RiffTags & GifTags & PhotoshopTags & CanonTags & {
540
+ export type Tags = XmpTags & IccTags & PngTags & RiffTags & GifTags & PhotoshopTags & CanonTags & CompositeTags & {
529
541
  'Thumbnail'?: ThumbnailTags;
530
542
  'Images'?: MPFImageTags[],
531
543
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exifreader",
3
- "version": "4.28.0",
3
+ "version": "4.28.1",
4
4
  "description": "Library that parses Exif metadata in images.",
5
5
  "author": "Mattias Wallander <mattias@wallander.eu>",
6
6
  "repository": {