This apps lets you display a PNG image on your NumWorks calculator.
Installing is rather easy:
- Download the latest
pngviewer.nwa
file from the Releases page - Head to my.numworks.com/apps to send the
nwa
file on your calculator. On this page you will be able to add the PNG file you want to display.
Well, it's pretty dull: just launch the app and look at your image!
This app uses the simplified libpng API. As such, it will decode the entire PNG image in memory. Unfortunately, as a result, images that are too large just won't work.
This programs uses two libraries:
Library | Version |
---|---|
zlib | 1.2.12 |
libpng | 1.6.38 |
To build this sample app, you will need to install the embedded ARM toolchain and nwlink.
brew install numworks/tap/arm-none-eabi-gcc node # Or equivalent on your OS
npm install -g nwlink
make clean && make build