These three simple individual extensions are already rolled into Juan's Base64 extension, but I believe it may be useful to some to have access to individual functions for specific needs....
Image To/From Base64
This extension has two functions, the first will convert whatever image is in an image component to a base64 string, the second will load a base64 string to an image component. There is an After Conversion to Base64 event as well
Blocks
Usage
AIX
uk.co.metricrat.imagebase64.aix (5.5 KB)
JAVA
ImageBase64.java.txt (2.4 KB)
Canvas To Base64
This extension has the one function, working much the same as canvas saveas, but converting the canvas image to base64. There is an After Conversion event
Blocks
Usage
AIX
uk.co.metricat.canvasbase64.aix (5.4 KB)
JAVA
CanvasBase64.java.txt (1.9 KB)
Camera Picture to Base64
This extension will allow the user to take a picture with their camera, and to then return the thumbnail image of the picture taken as a base64 string. There is an After Picture Taken / Conversion event.
Blocks
Usage
AIX
uk.co.metricrat.camerabase64.aix (6.0 KB)
JAVA
CameraBase64.java.txt (2.6 KB)
Video
Credits
My thanks to @Shreyash, @KUMARASWAMY_B.G, @vknow360, @Juan_Antonio for their help and support in creating these extensions
My thanks to @Shreyash for the RUSH extension builder
Available for use in any MIT AppInventor projects or competitions