pub(crate) fn to_color_mode(&self, bitdepth: u32) -> ColorMode {
        ColorMode {
            colortype: *self,
            bitdepth,
            palette: Vec::new(),
            key: None,
        }
    }
/// Create color mode with given type and bitdepth
Create color mode with given type and bitdepth
Create color mode with given type and bitdepth
pub(crate) fn to_color_mode(&self, bitdepth: u32) -> ColorMode {
        ColorMode {
            colortype: *self,
            bitdepth,
            palette: Vec::new(),
            key: None,
        }
    }
pub ( crate ) fn to_color_mode ( & self , bitdepth : u32 ) -> ColorMode { ColorMode { colortype : * self , bitdepth , palette : Vec :: new ( ) , key : None , } }
Create color mode with given type and bitdepth
Create color mode with given type and bitdepth
&self
bitdepth
u32