Image transparency settings

What do you want to achieve?

I am creating a UI - button images on top of a background - The problem i have is that the icon images have a white background on my display (but not in squareline studio). I need this to be transparent.

What have you tried so far?

set - #define LV_COLOR_SCREEN_TRANSP 1 - no change
imported new icon set - do they need to be specifically formatted png images?

Screenshot or video

image

Others

  • **SquareLine Studio version:1.3.1
  • **Operating system:Win11
  • **Target hardware:*ESP32 running tft_eSPI and lvgl 8.3.9 using arduino IDE 2.1 *

image

Probably the image have indexed color format. For example in GIMP you can check and change the color format of the images here:

Be sure RGB is selected.

1 Like

image

@kisvegabor Your a Gentleman and a Scholar. Thank you!

Happy to see it’s working. :hugs: