Open bolekro opened 4 years ago
My code: gm(path).toBuffer("jpeg", function(err, buffer) { if (err) { console..error(err); } else { emitJpegImage({ buffer: buffer, name }); } });'
gm(path).toBuffer("jpeg", function(err, buffer) { if (err) { console..error(err); } else { emitJpegImage({ buffer: buffer, name }); } });'
Result, error, the error is an empty object.
My code:
gm(path).toBuffer("jpeg", function(err, buffer) { if (err) { console..error(err); } else { emitJpegImage({ buffer: buffer, name }); } });'
Result, error, the error is an empty object.