Menu
I am attempting to convert what I believe is called a ‘binary stream’ into a recognizable image file. I am accessing this from a html page, the source is something along the lines of:
<img src=”127.0.0.1/image_files/?cmd=get-image;generate=-177991679;ctype=0;p=”></img>
I know that the file is displayed in the browser as a JPG, but given that I do not have a 127.0.0.1/image_files/blah blah.jpg URL I do not know how to convert this. I am using Nodejs. I have read about buffers, blob, etc, but nothing has worked. Are these called ‘Binary Streams’?
Many thanks
Trav