Enum PhotometricInterpretation
#[non_exhaustive]
#[repr(u16)]
pub enum PhotometricInterpretation
Variants
-
WhiteIsZero = 0 -
BlackIsZero = 1 -
RGB = 2 -
RGBPalette = 3 -
TransparencyMask = 4 -
CMYK = 5 -
YCbCr = 6 -
CIELab = 8 -
IccLab = 9 -
ItuLab = 10
Implementations
impl PhotometricInterpretation
const fn from_u16(val: u16) -> Option<Self>const fn to_u16(&self) -> u16
Trait Implementations
impl Clone for PhotometricInterpretation
fn clone(&self) -> Self
impl Copy for PhotometricInterpretation
impl Debug for PhotometricInterpretation
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for PhotometricInterpretation
impl Hash for PhotometricInterpretation
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for PhotometricInterpretation
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for PhotometricInterpretation
impl TiffValue for PhotometricInterpretation
const BYTE_LEN: u8 = <u16 as TiffValue>::BYTE_LEN;const FIELD_TYPE: Type = Type::SHORT;fn count(&self) -> usizefn data(&self) -> Cow<'_, [u8]>