reaccionar búfer a la imagen

const img = new Buffer.from(data).toString("base64")
Enthusiastic Eagle