Base64 Media Extension

Hello . I'm 12 years old and I'm making one Chat Application , but there isn't the possibility to send multi-medial files . So , because there isn't an official extension to convert the multi-medial files in base64 , can somewone do that extension without archiving in one cloud the files and the base64s and making olny some blocks really really easy , like convert file or deconvert file ?

P.S. :
The extention I'll prefer if it will be secure and fast !
( I don't want that the extension handles the cloud part... It'll be a separate thing I will do on mine cloud . I am worried that the extension may take a copy of the image and send it elsewhere . So , the extension " secure " means that does not do that )

Thanks , Gino :smiley:

but already @Juan_Antonio offered such type of extension to ur community.

Object to base64 and reverse too

Thanks , but the file or the base64 encoded are archived in a cloud or not ? Because in my Chat Application I care about the privacy of my users ... :sweat_smile:

Where are you intending to store the file, if not in the cloud, how would users of your app on other devices access your locally stored file ?

Explain how you would expect your chat application to work, including how you are sharing chat messages.

Sorry , but I have 11/12 years old and I'm Italian , so ... please translate your message ! :grimacing: ( I don't know all english words yet ... )

Using Google Translate:

Dove intendi archiviare il file? Se non nel cloud, come potranno gli utenti della tua app su altri dispositivi accedere al file archiviato localmente?

Spiega come ti aspetti che funzioni la tua applicazione di chat, incluso come condividi i messaggi di chat.

Scrivi in ​​italiano, la community ha un traduttore a bordo

Translated from Italian using Google Translate :
I store it in my CloudDB, and for now my app sends text messages. To send images, I therefore need an App Inventor extension to convert images to base64. I mean, I would like to personally store the obtained base64 in a secure App Inventor CloudDB (not that I don't trust the community, but I'm a newcomer, and anyway my app should respect privacy, so I wouldn't want an unofficial App Inventor extension to store personal and private multimedia files :sweat_smile: :grimacing:!)

It is possible to store a binary image file in cloudDB in its own tag, you would then link to this tag in a message. A full path to the file is required.
example:
image

Sorry , but ... can you translate that to Italian , please ?

Use the on board translator:

image

Ok ... Team of App Inventor

Really , my app is made for more devices in all the world , not olny ONE ... ( I'm making one app similar to WhatsApp ! ) :smiley:

This post was flagged by the community and is temporarily hidden.

What is your question?

(note: Whatsapp has 50 engineers supporting and developing the app)

1 Like

Considering my messages , my question is the first of the chat

You have two options:

  1. Upload an image file as a binary file to its own tag using a full path
  2. Convert your image to a base64 string, and upload load that to a tag, or as a part of the tag's value. You will need a base64 extension for this.

(you might want another extension to resize images to reduce file sizes, base64strings tend to be 1.3 x the size of the image file size)

You may need to explain your security/proivacy concern in more detail, this part is not clear.

You may find this useful:

I would like one extention thet converts a media file to base64 and vice versa, but without storing them in a cloud by itself because the images could also be private, and I care about the privacy of my users.

This post was flagged by the community and is temporarily hidden.

How do you intend to share these images (or base64 strings) if they are not uploaded to your cloud ? Directly, peer to peer ?

I will archive it in a cloud