I compose my display with several PNG images with transparent areas and, in GUIX, I format them as 8 bit palette with a Global/Shared palette. The problem I'm facing is that the transparent areas are not completely transparent, instead, are darkening the background. This keeps adding, so if I put an image with transparency over another image with transparency over the background, the overlapped "transparent" areas get darker and darker. I do not use any alpha blending, so I don't understand where this is coming from.
Attached are two images, one is the original, where the darkening can be seen but it's a bit difficult, and the other is a colored one where the trouble areas are highlighted with Paint in purple and green (note that being able to color them with Paint evidences that they are of different color than the surroundings, that is, not truly transparent).It should be noted that it is not that the areas are not transparent at all, but it is really a darkening of supposedly transparent areas, because I checked that if I change the background from gray to green, I see the problem areas as increasingly darker green.
The project summary is:
OK, thank you.I will prepare a sample project that demonstrates this problem (I cannot send the real project because it's a commmercial one)
Do you experience this behavior with images at higher bpp settings?
Also it would be great if you could share the original files you used that made up the images. Thank you
HeraldRenesasRulz Forum Moderatorhttps://renesasrulz.com/https://academy.renesas.com/en-us.knowledgebase.renesas.com/
The original images are 24 bpp and, when inside GUIX Editor I leave them at 32ARGB with alpha channel, it works well. My problem is that I need to use 8 bpp because I have so many images that they don't fit in the flash. I know that 8 bpp does not have an alpha channel, but as far as it seems that GUIX Editor can deal with one color of the palette being transparent (because it shows it as transparent in the editor or, at least, semi-transparent) I was trying to use this feature.
Besides the attached image, there is the background which is a Window with background color RGB=(16, 33, 33) with several widgets in it.
Hi again Elecsan,
May I know what particular synergy mcu you are using? It would be great if you can provide the part number.