exifreader 4.3.1 → 4.4.0
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 +3 -0
- package/package.json +1 -1
package/exif-reader.d.ts
CHANGED
|
@@ -179,6 +179,9 @@ interface MPFImageTags {
|
|
|
179
179
|
export function load(data: ArrayBuffer | SharedArrayBuffer | Buffer): Tags & XmpTags & IccTags;
|
|
180
180
|
export function load(data: ArrayBuffer | SharedArrayBuffer | Buffer, options: {expanded: true}): ExpandedTags;
|
|
181
181
|
export function load(data: ArrayBuffer | SharedArrayBuffer | Buffer, options: {expanded?: false}): Tags & XmpTags & IccTags;
|
|
182
|
+
export function load(data: string | File): Promise<Tags & XmpTags & IccTags>;
|
|
183
|
+
export function load(data: string | File, options: {expanded: true}): Promise<ExpandedTags>;
|
|
184
|
+
export function load(data: string | File, options: {expanded?: false}): Promise<Tags & XmpTags & IccTags>;
|
|
182
185
|
export function loadView(data: DataView): Tags & XmpTags & IccTags;
|
|
183
186
|
export function loadView(data: DataView, options: {expanded: true}): ExpandedTags;
|
|
184
187
|
export function loadView(data: DataView, options: {expanded?: false}): Tags & XmpTags & IccTags;
|