I know nothing about ESP32s, but I would hazard a gujess that you can either send a binary file or a base64 string, or both.
Search the community for ESP32, there is plenty out there.
[EDIT] this looks promising...
I know nothing about ESP32s, but I would hazard a gujess that you can either send a binary file or a base64 string, or both.
Search the community for ESP32, there is plenty out there.
[EDIT] this looks promising...
Great thanks to you.
I tried your awesome extension, Thank you! But I wonder if StringToBase64 is reversed from Base64ToString?
Yes, you can generate a base64 string from a file, and create a file from that base64 string.
No, I mean these 2 call functions are reversed. The names are wrong. .StringToBase64 should be Base64ToString,
and .Base64ToString should be StringToBase64.
No, they appear to be correct:
My string (text) is converted to base64, my base64 is converted to string (text)
I am sorry, I am newbie of base64. May I ask why the attached codes works fine while I swap StringToBase64 and Base64ToString but doesn't work?
My example above should make it obvious...
You have the global var64 and lbl1.text in the wrong sockets, swap them around.
The two blocks you are having issues with are ONLY for string(text) conversion, not for binary files (e.g. images)
Thank you for your explanations!
just checkin can i trust the aix file
You can trust it as much as you can trust anything you download from the interweb.
That said, this extension has been available for @ 5 years, and is probably in use by 10's of thousands of app developers.
Would this site knowingly host an extension with malicious code ?
Dear all, thank you for your help.
I'm developing an app in which the user can pick images from his phone with image picker, associate a tag and store it in a tiny WEB db.
After that, other users can see the images by recalling tiny WEB db.
All seems to run correctly.
My question is: why I read in this community that in order to store images in tinyWEBdb I need an encoding-decoding process like the one I obtain with Base64 extension?
Are there same pro-cons? (eg. I read a 30% increment in file dimension).
Thank you!
Because TinyWebDB can only store text
Taifun
But my app runs correctly. And I directly store images, not text.
Nope, you are storing the path to the image on your device.
Thank you TIMAI2, but I have not the images on my device because I deleted them.
If I save a path, and the images are not on my phone, I shouldn't see them... is it right?
Please I need to understand
On your device
Now test it on another device to display the stored image
Taifun
Could you kindly give me the right blocks combination to use for my application?
The first post of this thread links to this example
What about adjusting these blocks to your needs?
Taifun