imageExifReader/types/index.d.ts
2025-01-03 19:07:17 +08:00

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;