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 #stemwin2017-10-16 05: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:
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.
2017-10-16 05:33 AM
AFAIR, the PNG file format supports several compression methods internally.
Not sure if STemWin supports all of them.