Skip to main content
Associate II
March 8, 2024
Solved

Problem with widgets from monochrome Framebuffer

  • March 8, 2024
  • 2 replies
  • 3038 views

I have a monochrome display and use the framebuffer B/W with one bit per pixel. With the framebuffer and the TouchGFX Designer I can display text, but I have problems with small black and white images or e.g. a progress bar. Either only a black block or a black block with white highlights is displayed. But nothing usable. Has anyone had a similar problem and found a workaround?

This topic has been closed for replies.
Best answer by JTP1

Hi Niklas

Nice to hear you've made progress.

About the widgets, have you already try to decrease color depth of png images used in buttons, slider etc with some image processing sw (like IrfanView) to 1 bit ?  I suppose that might help.

Br JTP

2 replies

ST Employee
March 14, 2024

Hello @niklasgro ,

Could please provide more information about the settings you are using in you STM32CubeMX project? Especially, the settings for the display and TouchGFX. 

It would also be very nice if you can upload a picture of the board, so we can have a visual understanding of what is going on. 

Thank you

niklasgroAuthor
Associate II
March 18, 2024

Hello, you find attached the pictures of the designer and the display. Also from the TouchGFX settings. Are there any other options for making settings?

 

Thanks and best regards

Niklas

niklasgroAuthor
Associate II
March 26, 2024

Does someone has an Idea what i did wrong? The important Part for me is to display Pictures like the following.

test_picture.png

It´s a .png File. 

Thanks :smiling_face_with_smiling_eyes:

JTP1Best answer
Graduate II
April 2, 2024

Hi Niklas

Nice to hear you've made progress.

About the widgets, have you already try to decrease color depth of png images used in buttons, slider etc with some image processing sw (like IrfanView) to 1 bit ?  I suppose that might help.

Br JTP

niklasgroAuthor
Associate II
April 8, 2024

Hi. I've loaded my own black and white images for e.g. a Button and now it is displayed as it should. Thanks for your help :smiling_face_with_smiling_eyes: