png crate gets an ultrafast compression mode, up to 4x faster decompression

This page summarizes the projects mentioned and recommended in the original post on /r/rust

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • image

    Encoding and decoding images in Rust (by image-rs)

    png is the de-facto standard Rust crate for reading and writing PNG images, used e.g. by the image crate.

  • CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  • image-png

    PNG decoding and encoding library in pure Rust

    Encoding images to PNG with the "fast" compression mode is now an order of magnitude faster. This is achieved using a custom Zlib compression implementation that leverages assumptions about the patterns in PNG data to get reasonable compression ratios at phenomenal speeds.

  • resvg

    An SVG rendering library.

    For example, when converting vector SVG images to raster PNG images with resvg, most of the time is spent compressing the PNG image. This is a lot of wasted work if we just want to read the image instead of transferring it over the network! The fast compression mode eliminates all this wasted work, resulting in huge performance and efficiency gains.

  • fdeflate

    Fast deflate implementation specialized for PNG image data

    The changes have been tested for regressions on 80,000 images, and the new Zlib implementation has been roundtrip-fuzzed to ensure correctness. The png crate as a whole also added roundtrip fuzzing. So we're quite confident in the correctness of these changes, but if you find anything amiss, please open an issue on Github.

  • fpng

    Super fast C++ .PNG writer/reader

    When the QOI format was first announced it wasn't clear that was even possible while keeping PNG format compatibility. But the fpng and fpnge C/C++ libraries showed it was, and today you can take advantage of those advances in a general purpose PNG library in Rust!

  • fpnge

    Demo of a fast PNG encoder.

    When the QOI format was first announced it wasn't clear that was even possible while keeping PNG format compatibility. But the fpng and fpnge C/C++ libraries showed it was, and today you can take advantage of those advances in a general purpose PNG library in Rust!

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Porting a local app to Web

    4 projects | /r/rust | 12 May 2023
  • Setting the DPI of an image before saving it

    1 project | /r/learnrust | 5 May 2023
  • Announcing zune-jpeg: Rust's fastest JPEG decoder

    7 projects | /r/rust | 1 Mar 2023
  • Does the rust image crate support paletted png?

    1 project | /r/rust | 28 Feb 2023
  • picst - a CLI tool to resize clipboard images on the fly

    3 projects | /r/rust | 7 Nov 2022

Did you konow that Rust is
the 5th most popular programming language
based on number of metions?