18 lines
419 B
TypeScript
18 lines
419 B
TypeScript
interface ExifData {
|
|
Make?: string;
|
|
Model?: string;
|
|
DateTime?: string;
|
|
ExposureTime?: string;
|
|
FNumber?: string;
|
|
FocalLength?: string;
|
|
ISOSpeedRatings?: number;
|
|
LensModel?: string;
|
|
[key: string]: any;
|
|
}
|
|
|
|
declare class ImageExifReader {
|
|
constructor();
|
|
readExifData(file: File, callback: (error: Error | null, data?: ExifData) => void): void;
|
|
}
|
|
|
|
export default ImageExifReader;
|