Keyboard without Pngs, draw buttons by code to save memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-13 6:47 AM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-20 4:09 AM
I build my own Numpad Container with flexbuttons to save even more Flash :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-13 10:00 AM - edited ‎2024-02-13 10:02 AM
Hello
Do you mean this example custom widget ?
https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/share-your-custom-widgets/td-p/67889
Flash memory footprint of png images seems quite small to me.
Br JTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-15 3:19 AM - edited ‎2024-02-20 2:44 AM
Hello @PPete ,
It is not planned to create a keyboard without PNG in the future.
However, you could greatly limit the size of the images by changing the image format to L8_RGB565 (or another L8 format) and setting the compression to auto :
You can set the default image format and compression (this will change the image format and compression for all the images of your project added after that change) from your project's settings :
Hope this helps.
Don’t hesitate to give us a feedback or give more precisions and tell us if the issue is solved! :smiling_face_with_smiling_eyes:
Software engineer at ST (TouchGFX)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-20 2:46 AM
Hello @PPete
If one of the comments helped you, could you select it as best answer to help people with the same question as you and to allow us to close this ticket?
Regards,
Software engineer at ST (TouchGFX)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-20 4:09 AM
I build my own Numpad Container with flexbuttons to save even more Flash :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-21 3:14 AM
Hello @PPete ,
I am glad you found a solution that suits you.
Could you please select a best answer so we can close this thread?
Regards,
Software engineer at ST (TouchGFX)
