How to Convert a Base64Encoded Text to an image from a SQL server Database?
0
Hello, I am able to capture images into my database; the images are stored in the string format below. Now, I want to convert the string back to an image for viewing from the database, any ideas? What widget should be used for viewing images? Thank you in advance!
asked
Ismail Denwar
2 answers
0
Hi Ismail,
you can make use of Base64DecodeToFile java action from Community commons module . You can download it from market place if you do not have it (https://marketplace.mendix.com/link/component/170) .
answered
Dinesh Kumar
0
In addition to using the Base64 methods in Community Commons, if your application is native you can also use the NativeImageBase64 module in the Marketplace.