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