Hello again dudes!
I have a question. How do I encode an image into a base64 string to later be decoded into a drawable image?
How can I encode images into a string?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
How can I encode images into a string?
Hi! I wish you have an amazing day!
Re: How can I encode images into a string?
You can use imageData:getString and use the result with data.encode to get a base64 encoded string. Later on just reverse the operation with data.decode and image.newImageData
Re: How can I encode images into a string?
Profile. Do you encounter crashes in LÖVE Android and wanna send me logcats? Please hit me up in LÖVE Discord and send the full logcat file!
Who is online
Users browsing this forum: Google [Bot] and 13 guests