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

28 lines
417 B
TypeScript
Raw Normal View History

declare module "node-iptc" {
function e(data): any;
module e {
}
export = e;
}
declare module "exif-parser" {
2017-07-11 15:32:28 +08:00
export interface ExifData {
tags: any;
imageSize: any;
}
export interface ExifObject {
2017-07-12 00:43:10 +08:00
enableTagNames(value: boolean);
enableImageSize(value: boolean);
enableReturnTags(value: boolean);
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
}
export function create(data: any): ExifObject;
}
2017-07-11 15:32:28 +08:00