Page 1 of 1

Image to the Server

Posted: 03 Nov 2014, 11:28
by rusDXB
I'm developing the app which needs to send image and store it on the server. My assumption is that I can do it in several ways as I saw in the posts, I'm specifically interested in 2 approaches.

1 Using C#.
2 Using LONGBLOB post to mysql database.

in both cases the question is the same, at least I believe that it is. How do i convert image to BYTES, so it can be added to c # or as a string to the query node ?

By image I mean Snapshot texture or stored image on local hard drive, which I believe is the same when it comes to the sending.

Is my approach correct or there is the easier way posting images to the server ?