Could you gist[1] your code?
Sorry, seems I didn't get your original e-mail. The below works for
me, result is an image of a keyboard.
var data = /* snip */;
buffer = new Buffer(data, 'base64');
console.log(data.length, buffer.length);
require('fs').writeFileSync('image.jpg', buffer, 0, buffer.length);
The base64 encoder/decoder in 0.2.x is slightly buggy. This patch[1]
might be necessary.