Thanks Juan_Antonio!!! now it works!
great job!
on android 11 How to convert xlsx file to string. xlsx file in in download folder and created by another application.
I have not tested directly with a file in Download on Android 11.
Try this, copy the file from Download to ASD (File component), pass it to base64 in the ASD directory.
Thanks it worked
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
I am trying to use KI04_Base641 ImageToBase64
When I finally save the file
using KIO4_Base641.AfterImageBase64 ( using the base64Data )
THe file written is 4x smaller in both the x and y dimension.
My original file was 2268x2268 pixels and the saved file is 567x567 pixels
I thought the encode be in the same numbers (unless I am missing something)
Thanks
Shekhar
The image component will do some rescaling of the image if sizing is set to automatic. You may need to set the image component dimensions to the size of the image (perhaps use another image component "off screen" for this).
If you want to resize (not much point having a square image any bigger than 500x500 for a phone) use an extension that can resize the file from disk...
There are also extensions that will work with a file from disk to base 64:
How could I use base 64 to canvas with this extension?
Explain further what it is you want to do...
There is canvas to base 64 block, but there is not any base64 to canvas. How could I do that?
P.S. After you answewed with that, I finally got member badge/Trust level 2!
The canvas already has that block
You mean set Canvas.background image?
Nope, setcanvasbackgroundimageinbase64
Where? I don't see it anywhere
Oh, I see it now, thanks!
can someone help me i made a base64 to image app but it has bad base64 error did anyone know how to fix it
Why is the base64 string bad ? Possibly because the extension converts by DEFAULT
which generates line endings (\n
). You can remove these with the text replacement block if this is the problem.
You could always try this one:
uk.co.metricrat.base64convertorV1.aix
which uses NO_WRAP