1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/backend/model/exif.d.ts

33 lines
421 B
TypeScript
Raw Normal View History

2018-03-31 03:30:30 +08:00
declare module 'node-iptc' {
function e(data): any;
module e {
}
2018-03-31 03:30:30 +08:00
export = e;
}
2018-03-31 03:30:30 +08:00
declare module 'exif-parser' {
2017-07-11 15:32:28 +08:00
export interface ExifData {
tags: any;
imageSize: any;
}
2018-03-31 03:30:30 +08:00
2017-07-11 15:32:28 +08:00
export interface ExifObject {
2017-07-12 00:43:10 +08:00
enableTagNames(value: boolean);
2018-03-31 03:30:30 +08:00
2017-07-12 00:43:10 +08:00
enableImageSize(value: boolean);
2018-03-31 03:30:30 +08:00
2017-07-12 00:43:10 +08:00
enableReturnTags(value: boolean);
2018-03-31 03:30:30 +08:00
2017-07-11 15:32:28 +08:00
parse(): ExifData;
2017-07-12 00:43:10 +08:00
2017-07-11 15:32:28 +08:00
}
2018-03-31 03:30:30 +08:00
2017-07-11 15:32:28 +08:00
export function create(data: any): ExifObject;
}
2017-07-11 15:32:28 +08:00