Voting: 
Vote up!
0 Votes
4 Replies
Solved

Android png transparency is black

Problem posted by Alan Alencar da Silva on Feb 16, 2017 11:49 EST

Hi A Image in png format (transparent), does not display transparent background when loaded in image2 component via rawByte property. IDE Kony 6.5.2 Platform Android      

Posted In
Kony Inc Kony Studio
Tags:
Kony Answered Certificate
Vote up!
0 votes
Vote down!

Hi Alan,

Before you convert the transparent image as raw bytes, if you have modified the image in paint or in any other tool then it will show the black colour as the background. Can you please check that image in the system and open it and check the background. 

If possible can you please share us the image and it's raw bytes for further reference.

Thanks

Solved by: Feb 16, 2017 22:07 EST
Bronze
Vote up!
0 votes
Vote down!

Hi

The image with the transparent background was not modified in any application, and when we open it in some application we can see the transparent background.

Thanks

Replied by: Feb 17, 2017 04:32 EST
Vote up!
0 votes
Vote down!

Hi

With the same image (transparent background), in iOS this works fine, the problem occurs only in Android platform

Thanks

Replied by: Feb 17, 2017 06:45 EST
Vote up!
0 votes
Vote down!

Image [xre300_preta.png ] (with transparent background) attached

Replied by: Feb 17, 2017 07:34 EST