#png #bindings #codec #ffi

deprecated sys libpng-sys

Unreliable bindings for libpng 1.6. They're likely to bring sorrow and regret. Please use a native Rust PNG library instead (e.g. LodePNG 2.0)

2 stable releases

1.1.9 Aug 15, 2022
1.1.8 Oct 2, 2019
1.1.7 Aug 2, 2019
1.1.6 Jul 27, 2019
0.1.1 Jun 16, 2017

#106 in #png

Download history 80/week @ 2023-11-19 132/week @ 2023-11-26 120/week @ 2023-12-03 121/week @ 2023-12-10 136/week @ 2023-12-17 70/week @ 2023-12-24 92/week @ 2023-12-31 198/week @ 2024-01-07 121/week @ 2024-01-14 122/week @ 2024-01-21 123/week @ 2024-01-28 132/week @ 2024-02-04 176/week @ 2024-02-11 143/week @ 2024-02-18 141/week @ 2024-02-25 179/week @ 2024-03-03

649 downloads per month
Used in pngquant

Libpng license

1MB
25K SLoC

C 23K SLoC // 0.2% comments Rust 1K SLoC // 0.0% comments GNU Style Assembly 205 SLoC // 0.1% comments

Rust bindings for libpng 1.6.

libpng is likely to bring sorrow and regret. I strongly recommend to use a native Rust PNG library instead (e.g. LodePNG).

This crate bundles libpng 1.6.37 as a fallback. Please check whether this version is still secure before using this package.


lib.rs:

This is not the documentation you're looking for

See libpng documentation instead.

Consider using a native Rust PNG library instead (e.g. LodePNG 2.x).

Dependencies

~4MB
~61K SLoC