Hi David,
I was just playing with camera 3 sample project and I took picture and upload.
Where is the image uploaded?
Hi David,
I was just playing with camera 3 sample project and I took picture and upload.
Where is the image uploaded?
Hello Ade,
Hi David,
I was just playing with camera 3 sample project and I took picture and upload.
Where is the image uploaded?
Certainly the "Camera*" samples upload the Base64 representation of the captured image into my own server, however, I just return the same Base64 string (as you can see) and never save the image in the server. This is also valid for any other upload/post sample. The samples' server just reply like an "echo" with the uploaded/posted data, but do not save any data into the server.
Is this what you want to know Ade?
Hi David,
Yes and also can you share ready-made PHP script for uploading images on the server.
eg. Something we can just specify the url and the folder name of where the images will be uploaded.
Hello Ade,
In this StackOverflow thread we can find some possible approach in PHP. Certainly just one function can do the job:
Hi Ade,
Alright, good. what about PHP script function for uploading the converted image on to the webserver after conversion?
Hello Ade,
What the server receives is the Base64 string. If we pass that string to the above "base64_to_jpeg" function then the image is saved in the specified "output_file".
Hello Ade,What the server receives is the Base64 string. If we pass that string to the above "base64_to_jpeg" function then the image is saved in the specified "output_file".
Hello to all,
I forget this thread... I only want to say, that, thanks to some more or less recent addition into the Camera control and the CameraDataToImage action, we can now send the Camera's captures as image files using an HttpClient control. Look at the "Camera5" sample to view this last stuff working. We can continue working with "Base64" strings, but, work with files is now possible too.
Hi David,
Thanks for the information.
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.
This website uses some useful cookies to store your preferences.