png

Wrapper around the libpng library for png graphics

Wrapper score 15/100 · tests present · no docs generated

Wraps a native library — check OS Compatibility below for platform-specific linking notes.

Summary

Latest Version 0.2.2
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-08-30 07:10

Authors

  • Charles Barto

Installation

nimble install png
choosenim install png
git clone https://github.com/barcharcraz/nimlibpng

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
png - - - - - - -

Dependencies

Package Version Optional
nim >= 0.17.2 No

Source

Repository https://github.com/barcharcraz/nimlibpng
Homepage https://github.com/barcharcraz/nimlibpng
Registry Source nimble_official

README

nimlibpng

nimrod wrapper for libpng

the raw C library wrapper is in png.nim, to be imported as "import png". Functions and types are named the same as in the C version of libpng. This library wrapper was generated from the libpng16 documentation and tested aganst the libpng16 shared library obtained from the arch linux extra repository. Some #define constants and structures may not be included in this wrapper since it was generated from the libpng(3) manpage and not png.h. If you find something missing submit an issue, or even better a pull request.