PackageTrack
Sign in Get early access

image-webp

WebP encoding and decoding in pure Rust

0.2.4 65M downloads/mo #1058 most downloaded on crates.io image-rs/image-webp

What this package is like to depend on

Last release 12 months ago

27 Aug 2025

Ships fairly regularly

a new release about every 2 months

Nearly every release is documented

notes for 9 of 9 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

9 releases · first in 2024

0 releases in the last 12 months

see the full history below

Release timeline

9 releases · Feb 2024 to Aug 2025
2025 2026
Release Pre-release

Releases

latest 9
  1. 0.2.4 27 Aug 2025
    Release notes

    Publish v0.2.4 (#157)

    Open source →
    Release notes

    Changes:

    • Changed default upscaling to bilinear interpolation to match libwebp (#147)

    Bug fixes:

    • Fixed all remaining divergences against libwebp in loop filtering (#148, #149)

    Optimizations:

    • Optimized predictors in lossless_transform (#152)
    • Improved performance of horizontal loop filtering (#151, #156)
    Open source →
  2. 0.2.3 19 Jun 2025
    Release notes

    Changes:

    • Do not reject images with ICC profile bit set but missing ICCP chunk (#143)

    Bug Fixes:

    • Fixed a bug that caused the last chroma macroblock in the image to be sometimes decoded incorrectly (#144)
    Open source →
  3. 0.2.2 09 Jun 2025
    Release notes

    Changes:

    • Do not apply background color to animated images by default to better match libwebp behavior (#135)

    Bug Fixes:

    • Fixed a bug in the loop filter causing subtly but noticeably incorrect decoding of some lossy images (#140)

    Optimizations:

    • Remove bounds checks from color transform hot loop (#133)
    • Optimize resolving indexed images into RGB colors (#132, #134)
    Open source →
  4. 0.2.1 11 Jan 2025
    Release notes

    Changes:

    • Increased the required Rust compiler version to v1.80

    Optimizations:

    • Removed bounds checks from hot loops in read_coefficients() (#121)
    • Faster YUV -> RGBA conversion for a 7% speedup on lossy RGBA images (#122)
    • Faster alpha blending for up to 20% speedup on animated images (#123)
    • Much faster arithmetic decoding for up to 30% speedup on lossy images (#124)
    • Avoid unnecessarily cloning image data for a 4% speedup (#126)
    Open source →
  5. 0.2.0 06 Oct 2024
    Release notes

    Breaking Changes:

    • WebPDecoder now requires the passed reader implement BufRead.

    Changes:

    • Add EncoderParams to make predictor transform optional.

    Bug Fixes:

    • Several bug fixes in animation compositing.
    • Fix indexing for filling image regions with tivial huffman codes.
    • Properly update the color cache when trivial huffman codes are used.

    Optimizations:

    • Substantially faster decoding of lossless images, by switching to a table-based Huffman decoder and a variety of smaller optimizations.
    Open source →
  6. 0.1.3 17 Jul 2024
    Release notes

    Release 0.1.3 (#80)

    Open source →
    Release notes

    Changes:

    • Accept files with out-of-order "unknown" chunks.
    • Switched to quick-error crate for faster compliation.

    Bug Fixes:

    • Fixed decoding of animations with ALPH chunks.
    • Fixed encoding bug for extended WebP files.
    • Resolved compliation problem with fuzz targets.

    Optimizations:

    • Faster YUV to RGB conversion.
    • Improved BitReader logic.
    • In-place decoding of lossless RGBA images.
    Open source →
  7. 0.1.2 19 Apr 2024
    Release notes

    Release 0.1.2 (#65)

    Open source →
    Release notes
    • Export decoder::LoopCount.
    • Fix decode bug in read_quantization_indices that caused some lossy images to appear washed out.
    • Switch to byteorder-lite crate for byte order conversions.
    Open source →
  8. 0.1.1 18 Mar 2024
    Release notes

    Release 0.1.1 (#59)

    Open source →
    Release notes
    • Fix RIFF size calculation in encoder.
    Open source →
  9. 0.1.0 04 Feb 2024
    Release notes

    Add crates.io metadata (#52)

    Open source →
    Release notes
    • Initial release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive