UNPKG

image-js

Version:

Image processing and manipulation in JavaScript

16 lines 405 B
import type { decode } from 'tiff'; type TiffIfd = ReturnType<typeof decode>[number]; /** * Get metadata from an IFD. * @param ifd - The IFD. * @returns The metadata. */ export declare function getMetadata(ifd: TiffIfd): { tiff: { fields: Map<number, any>; tags: Record<string, any>; }; exif: Record<string, unknown>; }; export {}; //# sourceMappingURL=getMetadata.d.ts.map