Filey: Encode and Decode Files

Please tell me, what is the solution to retrieve images from the Internet and run them without the Internet?
@vknow360
Show it on view flipper

Without internet?

This is just like asking how to go from one place to another place without means of any transportation.

@The_K_Studio
my friend. We are now in the era of development and programming, and in order to be a genius, life must come up with ideas that seem impossible and easy inside.
We are here to invent and produce, not to say that this is impossible.

@The_K_Studio @vknow360
What do you think about uploading and reusing photos?

@vknow360
Ok how do I download the image from the URL. Do you use block download?

Could you stop tagging users to get attention. We consider that spamming.

1 Like

I’m sorry I wasn’t aware of this.
I will stop doing it

But this is not related to current thread.
You should search in community and see if you can find a working example.Otherwise create a new thread.

How to fix corrupt image?

Please provide more information.

when i save base64 to image the image is corrupt

Also show the blocks.

Hi, i´m using this extension, all seems to be ok but the string (base64) that i obtain doesn´t produce an image when is decode… this is an string example:

/9j/4c9aRXhpZgAASUkqAAgAAAANAAABBAABAAAAoA8AAAEBBAABAAAAuAsAAA8BAgAIAAAAqgAA ABABAgAJAAAAsgAAABIBAwABAAAABgAAABoBBQABAAAA3gAAABsBBQABAAAA5gAAACgBAwABAAAA AgAAADEBAgAOAAAAvAAAADIBAgAUAAAAygAAABMCAwABAAAAAQAAAGmHBAABAAAA7gAAACWIBAAB AAAApAIAACoDAABzYW1zdW5nAFNNLUc5OThCAABHOTk4QlhYUzVDVklGADIwMjI6MTE6MTUgMTc6 MzY6MTAASAAAAAEAAABIAAAAAQAAABkAmoIFAAEAAABgAgAAnYIFAAEAAABYAgAAIogDAAEAAAAC AAAAJ4gDAAEAAACAAgAAAJAHAAQAAAAwMjIwA5ACABQAAAAgAgAABJACABQAAAA0AgAAEJACAAcA AABIAgAAEZACAAcAAABQAgAAAZIKAAEAAABoAgAAApIFAAEAAABwAgAABJIKAAEAAAB4AgAABZIF AAEAAACAAgAAB5IDAAEAAAACAAAACZIDAAEAAAAAAAAACpIFAAEAAACQAgAAAaADAAEAAAABAAAA AqAEAAEAAACgDwAAA6AEAAEAAAC4CwAAAqQDAAEAAAAAAAAAA6QDAAEAAA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/EX9q6g7g/uY/kjH+yOM

Please show the relevant blocks.

This extension would work to convert a kml file to string and show it on maps?

Does map accepts base64 encoded strings?

I don’t know; I’m looking for a way to open a kml file and show it on the map; the gpx extension only loads self-generated files;

I can’t help with that unfortunately.

1 Like

i tried /storage/emulated/0 for the decoded but not working

Provide a complete path like
/storage/emulated/0/Pictures/<file name>.png.