What do you want to achieve?
LVGL retrieving the color of the image based on the coordinates
What have you tried so far?
Read the LVGL documentation if there are functions to do that but with no luck
Screenshot or video
Others
- SquareLine Studio version: 1.3.0
- Operating system: Windows
- Target hardware: ESP32-S3
This may not be the best place to ask this particular question but I thought I would try here anyways.
I have a small 1.9 inch Display with touch funcionality. I want to display a color pallette image on the screen and when user touches the screen, I would like to determine what color the user has chosen.
Is there a function in LVGL that would take x,y coordinates as an arguments and return me the color value of specific coordinates? In the example image above, I would expect to get the values for the blueish color. If there is no such funcionality in LVGL, how could I achieve this?