Can we enhance the image component so that it can input base64 images

@Developer, can you enhance the image component so that it can read images in base64 format? If possible, could you also optimize the software's running speed? I still experience lag when running a multi page program based on AppInventor on a new phone

And occasionally there may be a white screen phenomenon, where starting any activity through an activity will result in a white screen (programmed)

You can use an extension for that 📗 [Free] Base64 Encoded Image to Component

You should tell about your project and maybe share it. It could be that the problem is in your project and not in App Inventor. :wink:

There is also an extension specifically for the Image component:

If the intention is to load a datauri to the image component, then you can use text blocks to strip the uri part before loading, for example:

1 Like

Hmm... it seems like it shouldn't be too difficult to support this. The MediaUtil class already handles HTTP/HTTPS URLs so a code path to convert a data URI into an image seems like it would be reasonably straightforward.

2 Likes