Dynamic Bitmap display in vertical screen
- January 27, 2021
- 3 replies
- 2186 views
We are developing on a vertical screen.
(Set in TouchGFX Designer's Config-> Display-> Display Orientation)
Use TouchGFX's dynamic Bitmap to load RGB888 data (64x32) into the buffer.
If you set the generated data to Image Widget, the image will be distorted and displayed. (Attachment: image_v_ng.jpg)
If you use dynamic Bitmap with the same RGB data in a landscape environment, the image will be displayed correctly. (Attachment: image_h_ok.jpg)
In the case of vertical screen, if width is 32 and height is 64 in touchgfx :: Bitmap :: dynamicBitmapCreate (), the image rotated 90 degrees to the right is displayed. (Attachment: image_v_32x64.jpg)
If I use dynamic Bitmap on a vertical screen, do I need to make any settings?
(Uses TouchGFX v4.16.0, STM32H750B-DK)
Thanks in advance.