image2 0.5.0

A simple image processing library
Documentation

image2

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

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

Support for additional formats is provided by:

Optional crate features

  • raw
  • v4l
    • Enables support for webcam capture on Linux
  • serde
    • Automatically derive serde traits for images and many other datatyes

Installation

Add the following to your Cargo.toml:

[dependencies]
image2 = "0.5"