image-js
Version:
Image processing and manipulation in JavaScript
16 lines (13 loc) • 310 B
text/typescript
export interface ImageMetadata {
tiff: {
fields: Map<number, unknown>;
tags: Record<string, unknown>;
};
exif: Record<string, unknown>;
}
export interface Resolution {
x: number;
y: number;
unit: ResolutionUnit;
}
export type ResolutionUnit = 'inch' | 'centimeter' | 'meter' | 'unknown';