Missing PNG support in STemWin?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-10-13 12:20 AM
Hello,
According to the documentation, STemWin includes support for PNG. However, it is not compiled into the libraries. Is this a known issue? Are there any plans to support PNG in the future?
We're running on STM32F7, using the libraries from Cube firmware 1.8.0.
Regards,
Peter Olsson
#png #stemwin- Labels:
-
STemWin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-10-16 5:19 AM
Hi
peter.olsson
‌,Yes, the PNG format is supported by STemWin.
But you need to download the PNG library and include it in your package first. Otherwise, you will face a compilation error when calling PNG APIs. The PNG library can be downloaded from SEGGER site: www.segger.com/link/emwin_png.zip, and the original version of the library is available under .This is a summary of the steps to follow:
- Download the PNG library from
- Link the library to the project
- Convert the png file to C file using BMPCvt or Bin2C tools
- Use PNG APIs to decode and display the png files
All details on how to use the PNG file with the STemWin library may be found in the STemWin user guide located under .STM32Cube_FW_F7_V1.8.0\Middlewares\ST\STemWin\Documentation (section 'PNG file support').
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-10-16 5:33 AM
AFAIR, the PNG file format supports several compression methods internally.
Not sure if STemWin supports all of them.
