lvgl / lv_lib_png

PNG decoder for LVGL
MIT License
67 stars 26 forks source link

how to make the background of image button to be transparent? #32

Closed anghd closed 2 years ago

anghd commented 2 years ago

I'm using LVGL8.0 and RGB585 format images ,

I tried #define LV_COLOR_CHROMA_KEY lv_color_hex(0x000000) /black as background and not draw/ and it takes no effect. my main screen's background is black and there're some overlapped area between image buttons as bellow ing:

kisvegabor commented 2 years ago

Just add alpha channel to the image using GIMP or Photoshop.


We use GitHub Issues for development-related discussions.

Please ask your question in the Forum to make it visible for a larger community. You can simply log in with your GitHub account.

anghd commented 2 years ago

thank you.