Cargo Features
bevy_image has no features set by default.
[dependencies]
bevy_image = { version = "0.15.0-rc.3", features = ["basis-universal", "bmp", "dds", "exr", "ff", "gif", "hdr", "ktx2", "ico", "jpeg", "png", "pnm", "qoi", "tga", "tiff", "webp", "zlib", "zstd"] }
- basis-universal
-
Image formats
Enables basis-universal
For transcoding of UASTC/ETC1S universal formats, and for .basis file support
Affects
ktx2::get_transcoded_formats
… - bmp
-
rendering
- dds = ddsfile
-
Affects
dds::dds_buffer_to_image
,dds::dds_format_to_texture_format
… - exr
-
Affects
exr_texture_loader::ExrTextureLoader
,exr_texture_loader::ExrTextureLoaderSettings
,exr_texture_loader::ExrTextureLoaderError
… - ff
- gif
- hdr
- ktx2
-
Enables ktx2
Affects
ktx2::ktx2_buffer_to_image
,ktx2::ktx2_get_texture_format
,ktx2::ktx2_dfd_to_texture_format
,ktx2::ktx2_format_to_texture_format
… - ico
- jpeg
- png
- pnm
- qoi
- tga
- tiff
- webp
- zlib = flate2
-
For ktx2 supercompression
- zstd = ruzstd
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.