Pass image to bitmap


Hi, please how can I pass the image of the screen to a bitmap array?

What MCU/Processor/Board and compiler are you using?

Linux, simulator

What LVGL version are you using?


What do you want to achieve?

I want draw a line in canvas with a color of the size of a bit or a bitmap array without canvas(color or pixel drawn)

What have you tried so far?

I’ve used canvas and line examples and worked it with LV_IMG_CF_TRUE_COLOR setting in the buffer,
but to pass the code to a QPOS PLUS device the buffer is too big.

Code to reproduce

Screenshot and/or video

Maybe this can help you.

Yes sr. Thank you so much