Skip to content

encodeIco

encodeIco(blob, params, signal?): Promise<Blob>

Defined in: packages/engine-image/src/operations/ico.ts:90

EncodeIco:从任意图片生成多尺寸 ICO favicon。

非正方形输入按 cover 策略居中裁切为正方形后缩放到各目标尺寸。

Blob

Record<string, any>

AbortSignal

Promise<Blob>