Hello everyone,
We are pleased to announce the integration of PNGDEC into MICROEJ VEE.
PNGDEC is a PNG decoder that was created to address the challenges of decoding PNG images on devices with limited memory and processing power.
Written by Larry Bank, forked from: GitHub - bitbank2/PNGdec: An optimized PNG decoder suitable for microcontrollers and PCs . This fork brings an adaptation layer to easily plug the decoder to MICROEJ VEE.
This decoder can be used as a replacement to the internal MicroUI Internal PNG Decoder.
How to choose between MicroUI Internal PNG Decoder and PNGDEC?
| MicroUI PNG Decoder | PNGDEC PNG Decoder | |
|---|---|---|
| LICENSING | Covered by the MICROEJ SDK EULA. | Apache 2, provided “as-is”. |
| Supported Encoding Formats | Fully supports the W3C PNG Format specification. | Several PNG encoding formats not supported. Refer to PNGDEC Testsuite Report for more details. |
| Pixel Accurate PNG Decoding on Simulator | ||
| RAM Usage | Varies depending on PNG encoding parameters (compression, …). Hard to anticipate. | Constant heap usage. Uses on average 3x less RAM than MicroUI PNG Decoder. See PNGDEC Memory Requirements section for more information. |
| CPU Usage | PNGDEC is 1.3x faster than MicroUI PNG Decoder on average. |
Refer to the PNGDEC Repository, to deploy PNGDEC in your VEE Port.
Happy coding!
The MicroEJ Team.