Expand description

Cargo package for compiling libpng and vendoring it as static library.

Main goal of the package is providing static library for linking with other C code, like versions of Leptonica. It provides just rudimentary FFI bindings. More sophisticated bindings would be provided in a separate crate. If you need to bind libpng with the Rust code directly, you should write your own bindings.

Does not translate C macros from libpng.

Rust FFI bindings not documented. For information on underlying C functions and constants is provided here: https://github.com/pnggroup/libpng/blob/libpng16/libpng-manual.txt

Structs§

Constants§

Functions§

Type Aliases§