send images to server (HTTP, localhost) via maxurl
Hi all,
I set up a motion detection system in Max that takes a snapshot when new movement is detected. This picture is saved to the local computer. I want to send the picture to a local server via maxurl, but I can't get it to work.
Is anyone familiar with sending images over HTTP in Max?
Is there another solution via node.js and websocket? My abilities to programm in node are very bad though.
Here the patch with motion detection and saving picture. That all works like I wish. It's the maxurl stuff I'm having problems with.
Link to post on the Facebook forum.
Best,
Eveline
Following...
is it possible to upload picture via maxurl? also don't understand how to handle base64 format in max...
I didn't get it to work the way I wanted to. In the end, I used the objects [jit.net.send] and [jit.net.receive] to send images from one computer to another.
I don't know if this applies to your project, Wei.
Hi Eveline
It doesn't really help, but thanks anyway! I just couldn't find anyway to convert image into base64 string in max and i don't know any other tool to do so, so that's why I am looking for solution inside max. Guess it doesn't make so much sense to do it in max.
I am trying to send over my image to a 3rd party app:
https://www.lobe.ai/docs/export/export
I see. I have no clue about this, and there doesn't seem to be any documentation about converting images to base64 in Max.
I hope someone else can help you out!
On Mac it is allready available using opensssl, base64, python3, perl ... need more ?
here shell output

or file : openssl base64 -in path-to-file.jpg -out path-to-file.b64
On windows, one would have to make some installations, I guess.
Don't ask me more about it.
You know how to use google
Thank you! Eveline you so nice! I hope you will get what you want too :)
@Sourceaudio thanks too! will try it out!