jbilcke-hf's picture
jbilcke-hf HF staff
initial commit 🎬
2cae2a9
raw
history blame
172 Bytes
import { addBase64Header } from "../base64/addBase64.mts";
export async function bufferToPng(buffer: Buffer) {
return addBase64Header(buffer.toString('base64'), "png")
}