Skip to main content

IMAGE_EXTENSIONS

Constant IMAGE_EXTENSIONS 

Source
pub const IMAGE_EXTENSIONS: &[&str];
Expand description

Extensions the image loader claims.

The workspace builds the image crate with PNG support only, so PNG is the format that decodes. Other raster extensions still reach this loader through crate::AssetLoaders’ fallback and fail with a decoder message naming the format.