Cargo Features

jpeg2k = { version = "0.7.0", default-features = false, features = ["strict-mode", "file-io", "threads", "image", "openjpeg-sys", "openjp2"] }
default = file-io, image, openjpeg-sys, threads

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

file-io default

Enable file IO APIs.

Enables file-io of optional openjp2

threads default

Enables threads of optional openjpeg-sys


Compile OpenJPEG with thread support.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

image default

Enables image ^0.24

openjpeg-sys default
openjp2 implicit feature

Enables openjp2


Rust port of Openjpeg