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:
- https://imagemagick.org/script/formats.php/http://www.graphicsmagick.org/formats.html
- FFmpeg
- rawloader
- rscam
Optional crate features
raw
- Enables support for many RAW formats
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
:
[]
= "0.5"