UNPKG

@topgroup/diginext

Version:

A BUILD SERVER & CLI to deploy apps to any Kubernetes clusters.

17 lines 636 B
/// <reference types="node" /> /// <reference types="node" /> export declare function readFileToBuffer(filePath: string): Buffer; /** * Read image url and convert to {Buffer} */ export declare function getImageBufferFromUrl(url: string): Promise<Buffer>; /** * Download image from input URL */ export declare function downloadImage(url: string, outputPath: string): Promise<string>; /** * Get image's dimentions (width, height) * @param url - Input image URL */ export declare function getImageDimensions(url: string): Promise<import("image-size/dist/types/interface").ISizeCalculationResult>; //# sourceMappingURL=image.d.ts.map