exifreader 4.14.0 → 4.14.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.
- package/exif-reader.d.ts +22 -2
- package/package.json +1 -1
package/exif-reader.d.ts
CHANGED
|
@@ -81,6 +81,25 @@ interface PngTextTags {
|
|
|
81
81
|
[name: string]: PngTextTag
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
+
interface RiffTags {
|
|
85
|
+
'Alpha'?: {
|
|
86
|
+
value: 0 | 1,
|
|
87
|
+
description: 'No' | 'Yes'
|
|
88
|
+
},
|
|
89
|
+
'Animation'?: {
|
|
90
|
+
value: 0 | 1,
|
|
91
|
+
description: 'No' | 'Yes'
|
|
92
|
+
},
|
|
93
|
+
'ImageWidth'?: {
|
|
94
|
+
value: number,
|
|
95
|
+
description: string
|
|
96
|
+
},
|
|
97
|
+
'ImageHeight'?: {
|
|
98
|
+
value: number,
|
|
99
|
+
description: string
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
84
103
|
interface NumberFileTag {
|
|
85
104
|
description: string,
|
|
86
105
|
value: number
|
|
@@ -153,6 +172,7 @@ interface ExpandedTags {
|
|
|
153
172
|
iptc?: ExifTags,
|
|
154
173
|
xmp?: { _raw: string } & XmpTags,
|
|
155
174
|
icc?: IccTags,
|
|
175
|
+
riff?: RiffTags,
|
|
156
176
|
Thumbnail?: ThumbnailTags,
|
|
157
177
|
gps?: GpsTags
|
|
158
178
|
}
|
|
@@ -453,9 +473,9 @@ interface IccTags {
|
|
|
453
473
|
[name: string]: ValueTag;
|
|
454
474
|
}
|
|
455
475
|
|
|
456
|
-
export type Tags = XmpTags & IccTags & PngTags & {
|
|
476
|
+
export type Tags = XmpTags & IccTags & PngTags & RiffTags & {
|
|
457
477
|
'Thumbnail'?: ThumbnailTags;
|
|
458
478
|
'Images'?: MPFImageTags[],
|
|
459
479
|
} & {
|
|
460
480
|
[K in keyof ExifTags]: ExifTags[K] | XmpTag;
|
|
461
|
-
}
|
|
481
|
+
}
|