image2 0.9.2

A simple image processing library
Documentation

image2

A Rust library focused on generic image processing for a wide range of datatypes. stb_image is used as the default encoder/decoder and supports the following formats:

  • JPEG [RW]
  • PNG [RW]
  • TGA [RW]
  • BMP [RW]
  • PSD [R]
  • GIF [R]
  • HDR [RW]

Additional formats are provided by:

Optional crate features

  • raw
  • v4l
    • Enables support for webcam capture on Linux
  • ser
    • Automatically derive serde traits for images and many other datatyes
  • parallel
    • Uses rayon to iterate over pixels in parallel (enabled by default)

Installation

Add the following to your Cargo.toml:

[dependencies]
image2 = "0.7"