Actually, I have 3 questions:
-
My PWA uses the camera to make a photo. How can I store the photo, which is already residing in a TWebImageControl, as a file into the local phone photo library? Is that possible at all?
-
How can I have the user select a photo from the local photos library and show it in a TWebImageControl?
-
How can I send a photo from a TWebImageControl to my PHP server and store it there in a file. In particular, how to encode the image into a JSON compatible string format for sending via HTTP request and on the receiving PHP side, how to decode the received JSON string and convert it into a file on the webserver file system.
Many thanks, kind regards, Walter