Enum png::BitDepth
[−]
[src]
pub enum BitDepth { One, Two, Four, Eight, Sixteen, }
Bit depth of the png file
Variants
One | ||
Two | ||
Four | ||
Eight | ||
Sixteen |
Methods
impl BitDepth
fn from_u8(n: u8) -> Option<BitDepth>
u8 -> Self. Temporary solution until Rust provides a canonical one.