2024-03-08 12:32 AM
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?
Solved! Go to Solution.
2024-04-02 10:55 AM
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
2024-03-14 07:29 AM
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
2024-03-18 02:01 AM
2024-03-26 07:20 AM
Does someone has an Idea what i did wrong? The important Part for me is to display Pictures like the following.
It´s a .png File.
Thanks :smiling_face_with_smiling_eyes:
2024-03-31 11:53 PM
Hello
What about your image file format, is it also with 1 bit color ? Can your share the arrow png ?
Br JTP
2024-04-02 06:53 AM
Hello, i checked it again and the problem was the transparent background. With white background its working without problems.
Thanks for your answer!
Do you have any idea for the touchgfx widgets? Maybe theres some way to turn them in monochrome but i didnt found anything yet...
2024-04-02 10:55 AM
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
2024-04-08 01:19 AM
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: