Passing a ~~raw image buffer~~ JavaScript object to `sharp()` fails silently instead of throwing an error.