cancel
Showing results for 
Search instead for 
Did you mean: 

How to create ARGB8888 dynamic bitmap on RGB565 platform?

amb
Senior

Framebuffer is RGB565,Can I make a dynamic bitmap of ARGB8888? 

I made one by cacheable container and display the dynamic bitmap by a texturemapper but the image came out is not correct,something did appear on screen,but size and color not right. but if I change bitmap type to rgb565,the image show correctly,but with black background and  no alpha ,not what I wanted. There is enough  cache,I confirm the dynamic bitmap is created successfully on both type.I tried to display the dynamic bitmap by a Image widget,but the result is the same.

In this forum,I can see a solution,to register a LCD32bpp class and set it as Auxiliary LCD in the hal.

But I didn't found any thread on this subject.

How to use off screen rendering of a textarea in a... - STMicroelectronics Community

Can I get any help from any @st guys?

11 REPLIES 11
JohanAstrup
ST Employee

I am not able to reproduce the compile error. I have tested with the STM32H7S78-DK TBS. Have you tried cleaning your project in STM32CubeIDE?

Alternatively, can you share your project?

Best regards,
Johan

Hello @JohanAstrup 

I update designer V23.2 to V26. The compile error disappear.

I don't know how it works,but at least it works.

Thanks for your help.

Best Regards

amb