UNPKG

@toolsycc/image-convert

Version:

A utility package for converting image formats.

11 lines (10 loc) 301 B
export interface IcoOptions { autoOrient?: boolean; stripMetadata?: boolean; sizes?: number[]; } /** * Converts an image buffer to an ICO buffer. * Only usable in Node.js (uses sharp). */ export declare function convertToIco(inputBuffer: Buffer, options?: IcoOptions): Promise<Buffer>;