image-png

PNG decoding and encoding library in pure Rust (by image-rs)

Stats

Basic image-png repo stats
4
171
8.1
about 1 month ago

image-rs/image-png is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

Image-png Alternatives

Similar projects and alternatives to image-png

  • GitHub repo rust

    Empowering everyone to build reliable and efficient software.

  • GitHub repo wuffs

    Wrangling Untrusted File Formats Safely

  • GitHub repo png-decoder

    A pure-Rust, no_std compatible PNG decoder

  • GitHub repo crates.io

    Source code for crates.io

  • GitHub repo tiny-skia

    A tiny Skia subset ported to Rust

  • GitHub repo thermite

    Thermite SIMD: Melt your CPU

  • GitHub repo simd-adler32

    A SIMD-accelerated Adler-32 rolling hash algorithm implementation.

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better image-png alternative or higher similarity.

Posts

Posts where image-png has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-04-24.
  • When soundness isn't worth it
    reddit.com/r/rust | 2021-04-24
    Fun fact: libpng-sys was so difficult to create safe Rust wrapper for that people just wrote their own, 100% safe Rust PNG decoder: https://github.com/image-rs/image-png
  • Anyone want to speed up a PNG decoder?
    reddit.com/r/rust | 2021-04-07
    I didn't get time to finish the full spec for my attempt at a PNG decoder but it was working on common cases and was faster than image-png at the time https://users.rust-lang.org/t/new-rust-png-decoding-library/30952. I suspect it's not the case anymore since it changes it's deflate crate usage. Here is the perf issue on the image crate https://github.com/image-rs/image-png/issues/114. My code was way simpler than the one in the image crate so that might still be worth a read if you are interested.
    reddit.com/r/rust | 2021-04-07
    image-png crate achieved automatic vectorization like this. That doesn't apply to Paeth filter though.
  • Wuffs PNG decoder faster than rust
    reddit.com/r/rust | 2021-04-06
    The crate actually forbids unsafe. There's nothing necessarily wrong with unsafe code, but not having it provides a nice assurance. Plus if you are willing to tolerate (well audited) unsafe code then you may well be better off just using libpng.