aheckmann / gm

GraphicsMagick for node
http://aheckmann.github.com/gm/
6.95k stars 614 forks source link

toBuffer errors with an empty object #798

Open bolekro opened 4 years ago

bolekro commented 4 years ago

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.