Cargo Features

[dependencies]
ezk-image = { version = "0.4.2", default-features = false, features = ["multi-thread", "resize", "all-formats", "I420", "I212", "YUYV", "BGR"] }
default = all-formats, multi-thread, resize

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

multi-thread default

Enable multi threading for image conversion

Enables num_cpus and rayon

resize default

Include Resizer using fast_image_resize

Enables fast_image_resize ^5

Affects ezk-image::resize

all-formats default = ABGR, ARGB, BGR, BGRA, I010, I012, I210, I212, I410, I412, I420, I422, I444, NV12, P010, P012, RGB, RGBA, YUYV

Formats

I420 all-formats

Make sure to include new formats in the CI & all-formats feature

I422 I444 I010 I012 I210 I212 all-formats
I410 I412 NV12 P010 P012 YUYV all-formats
RGBA BGRA ARGB ABGR RGB BGR all-formats