payload
Version:
Node, React, Headless CMS and Application Framework built on Next.js
9 lines • 342 B
TypeScript
import type { Metadata as SharpMetadata } from 'sharp';
/**
* Used to extract height from images, animated or not.
*
* @param sharpMetadata - the sharp metadata
* @returns the height of the image
*/
export declare function extractHeightFromImage(sharpMetadata: SharpMetadata): number;
//# sourceMappingURL=extractHeightFromImage.d.ts.map