Important: unclear posts may not receive useful answers.
Before posting
Get familiar with Markdown to format and structure your post
Be sure to update lvgl from the latest version from the master branch.
Be sure you have checked the FAQ and read the relevant part of the documentation.
If applicable use the Simulator to eliminate hardware related issues.
Delete this section if you read and applied the mentioned points.
Description
How to rotate Widgets in RGB565 16 bit Color format. based on lv_conf.h header it needs 32 bit color format but my lcd doesn’t support 32 bit Color format (it supports RGB888 but not ARGB8888)
What MCU/Processor/Board and compiler are you using?
Stm32f769igt6 (similar to Stm32f769-Discovery Board)
What LVGL version are you using?
v8.2.0
What do you want to achieve?
is it possible to rotate objects with 16 bit color format and how?
What have you tried so far?
with 32 bit config on lv_conf.h but using 24 bit on LCD, it didnt work in proper way
Code to reproduce
Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.
The code block(s) should be formatted like:
/*You code here*/
Screenshot and/or video
If possible, add screenshots and/or videos about the current state.
based on lv_con.h header it requires LV_COLOR_DEPTH = 32, which means the only option is ARGB888 color format.
actually, I want to rotate all the screens by 90 degrees (change portrait to landscape orientation).
The LV_COLOR_SCREEN_TRANSP macro means that the displa supports having an alpha byte sent to it. That’s pretty much all it means. Screens that support this feature support 24 bit color plus the additional 8 bits for the alpha. It’s how the display functions. If that macro is set to a zero the other option you have is to use RGB565 or 16 bit color. This is because LVGL is not set up to handle 24 bit color. if your display does support RGB888 you could run 32 bit color and strip off the alpha byte in your flush function.