cancel
Showing results for 
Search instead for 
Did you mean: 

DynamicBitmapCreateExternal() for RGB565

Priyank
Senior

Hi, I am creating a DynamicBitmapCreateExternal() for RGB565, but the image shows up faded. Is there any fix for this? I made sure to set cache for it. I also tried for L8 and it didn't show.

15 REPLIES 15

Hello @Priyank ,

 

I am glad that RGB888 meet your requirements.
Can you select your last message as "best answer"?

 

Regards,

Hi @GGODA ,

 

I would like this to work with RGB565.

Hello @Priyank ,

 

Yes, I will talk about it with the team!

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)

Hello @GaetanGodart ,

 

are there any updates regarding this issue?

JohanAstrup
ST Employee

Hello @Priyank.

The issue has been fixed in TouchGFX 4.26.0.

JohanAstrup_0-1760334866539.png

Best regards,
Johan

 

Hello, @GaetanGodart @JohanAstrup   

I've run the same tests under TouchGFX 4.26.0, but I still run into the issue of the image looking grainy/faded. Does stm32cubeIde also need to be updated? I am running that on an older version (1.16.1)

 static uint16_t cacheSize[512];
    Bitmap::setCache(cacheSize, sizeof(cacheSize),1);
    volatile BitmapId bmpId = Bitmap::dynamicBitmapCreateExternal(185, 43,(void*)image_logo, Bitmap::BitmapFormat::RGB565);