Cargo Features

[dependencies]
imageun = { version = "0.0.0", default-features = false, features = ["default-formats", "avif", "bmp", "dds", "exr", "ff", "gif", "hdr", "ico", "jpeg", "png", "pnm", "qoi", "tga", "tiff", "webp", "rayon", "nasm", "color_quant", "avif-native", "benchmarks"] }
default = default-formats, rayon

These default features are set whenever imageun is added without default-features = false somewhere in the dependency tree.

default-formats default = avif, bmp, dds, exr, ff, gif, hdr, ico, jpeg, png, pnm, qoi, tga, tiff, webp

Format features

avif default-formats

Enables ravif and rgb

Affects imageun::codecs.avif

bmp default-formats ico?

Affects imageun::codecs.bmp

dds default-formats

Affects imageun::codecs.dds

exr default-formats

Enables exr

Affects imageun::codecs.openexr

ff default-formats

Farbfeld image format

Affects imageun::codecs.farbfeld

gif default-formats

Enables color_quant and gif

color_quant:

Optional dependencies

Affects imageun::codecs.gif

hdr default-formats

Affects imageun::codecs.hdr

ico default-formats = bmp, png

Affects imageun::codecs.ico

jpeg default-formats

Enables zune-core and zune-jpeg

Affects imageun::codecs.jpeg

png default-formats ico?

Enables png

Affects imageun::codecs.png

pnm default-formats

Affects imageun::codecs.pnm

qoi default-formats

Enables qoi

Affects imageun::codecs.qoi

tga default-formats

Affects imageun::codecs.tga

tiff default-formats

Enables tiff

Affects imageun::codecs.tiff

webp default-formats

Enables image-webp ^0.1.0

Affects imageun::codecs.webp

rayon default

Other features
Enables multi-threading

Enables rayon

nasm

Enables use of nasm by rav1e (requires nasm to be installed)

Enables asm of optional ravif

color_quant

Enables color quantization

Enables color_quant

avif-native

Enable native dependency libdav1d

Enables dav1d, dcv-color-primitives ^0.6.1, and mp4parse

Affects imageun::codecs.avif

benchmarks

Build some inline benchmarks. Useful only during development (requires nightly Rust)