MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / outputFor

Function outputFor

quote/quote.ts:952–952  ·  view source on GitHub ↗
(crf: number)

Source from the content-addressed store, hash-verified

950 if (converted) imageBuffer = converted;
951 } else if (kind === "sticker") {
952 imageBuffer = await (await getSharp())(buffer, { animated: false }).ensureAlpha().png({ force: true }).toBuffer();
953 }
954 const { createCanvas, loadImage } = await getCanvas();
955 const img = await loadImage(imageBuffer);

Callers 1

encodeFramesToWebmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected