Obtenha buffer de Jimp JS
const Jimp = require('jimp');
const img = Jimp.read('img.png');
img.getBuffer(Jimp.MIME_PNG, (err, buffer) => {
console.log(buffer);
});
await img.getBufferAsync(Jimp.MIME_PNG)
Drab Dingo