Skip to main content

euv_core/media/image/
enum.rs

1/// Decoded container format produced by pure-Rust image codecs.
2#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
3pub enum DecodedImageFormat {
4    /// Portable Network Graphics (`.png`).
5    #[default]
6    Png,
7    /// Joint Photographic Experts Group (`.jpg` / `.jpeg`).
8    Jpeg,
9    /// Windows Bitmap (`.bmp`).
10    Bmp,
11    /// Radiance RGBE high dynamic range image (`.hdr`).
12    RadianceHdr,
13    /// OpenEXR high dynamic range image (`.exr`).
14    OpenExr,
15}