Image from Base64 - transparent background


I want to show some logos in my App, using Base64. I encoded the pictures with a transparent background and if I decode them in my browser, they still have no background color.

The simple code I use:

.then(function(img) {
	image = img;

and in my ux file:

<Image File="{image}" />

In my App I see a white rectangle behind the logo. Is it possible to display my logo with transparent background? Thank you.

Hi AISte

It seems that getImageFromBase64 uses jpeg and hence cannot show transparency. The workaround is described in this post: PNG support on ImageTools.getImageFromBase64(base64)

Best regards