0

I currently have a java client sending pictures in the form of byte arrays to a node.js server. Once it receives this data, I want to be able to convert the byte array back into an image file(e.g. image.jpeg) and save it to the disk. How would I do this?

uk101
  • 1
  • 1
  • http://stackoverflow.com/questions/20756042/javascript-how-to-display-image-from-byte-array-using-javascript-or-servlet – Dennis May 06 '17 at 06:54
  • 1
    Possible duplicate of [Javascript : How to display image from byte array using Javascript or Servlet?](http://stackoverflow.com/questions/20756042/javascript-how-to-display-image-from-byte-array-using-javascript-or-servlet) – Dennis May 06 '17 at 06:55
  • I would prefer documentation of node.js follow this link https://nodejs.org/api/fs.html#fs_fs_writefile_file_data_options_callback – Sahil Manchanda May 06 '17 at 06:57

0 Answers0