[package]
name = "image"
version = "0.24.9"
edition = "2021"
resolver = "2"
rust-version = "1.63.0"
license = "MIT OR Apache-2.0"
description = "Imaging library. Provides basic image processing and encoders/decoders for common image formats."
authors = ["The image-rs Developers"]
readme = "README.md"
documentation = "https://docs.rs/image"
repository = "https://github.com/image-rs/image"
homepage = "https://github.com/image-rs/image"
categories = ["multimedia::images", "multimedia::encoding", "encoding"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
include = [
"/LICENSE-APACHE",
"/LICENSE-MIT",
"/README.md",
"/CHANGES.md",
"/src/",
"/benches/",
]
[dependencies]
bytemuck = { version = "1.8.0", features = ["extern_crate_alloc"] }
byteorder = "1.3.2"
num-traits = "0.2.0"
gif = { version = "0.13", optional = true }
jpeg = { package = "jpeg-decoder", version = "0.3.0", default-features = false, optional = true }
png = { version = "0.17.6", optional = true }
tiff = { version = "0.9.0", optional = true }
ravif = { version = "0.11.0", optional = true }
rgb = { version = "0.8.25", optional = true }
mp4parse = { version = "0.17.0", optional = true }
dav1d = { version = "0.10.2", optional = true }
dcv-color-primitives = { version = "0.6.1", optional = true }
color_quant = "1.1"
exr = { version = "1.5.0", optional = true }
qoi = { version = "0.4", optional = true }
libwebp = { package = "webp", version = "0.2.2", default-features = false, optional = true }
rayon = { version = "1.7.0", optional = true }
[dev-dependencies]
crc32fast = "1.2.0"
num-complex = "0.4"
glob = "0.3"
quickcheck = "1"
criterion = "0.5.0"
jpeg = { package = "jpeg-decoder", version = "0.3.0", default-features = false, features = ["platform_independent"] }
[features]
default = ["gif", "jpeg", "ico", "png", "pnm", "tga", "tiff", "webp", "bmp", "hdr", "dxt", "dds", "farbfeld", "jpeg_rayon", "openexr", "qoi"]
ico = ["bmp", "png"]
pnm = []
tga = []
bmp = []
hdr = []
dxt = []
dds = ["dxt"]
farbfeld = []
openexr = ["exr"]
qoi = ["dep:qoi"]
webp = []
webp-encoder = ["libwebp", "webp"]
jpeg_rayon = ["jpeg/rayon"]
avif = ["avif-encoder"]
avif-encoder = ["ravif", "rgb"]
avif-decoder = ["mp4parse", "dcv-color-primitives", "dav1d"]
benchmarks = []
[[bench]]
path = "benches/decode.rs"
name = "decode"
harness = false
[[bench]]
path = "benches/encode.rs"
name = "encode"
harness = false
[[bench]]
name = "copy_from"
harness = false