pub trait ColorType {
type Inner: TiffValue;
const TIFF_VALUE: PhotometricInterpretation;
const BITS_PER_SAMPLE: &'static [u16];
const SAMPLE_FORMAT: &'static [SampleFormat];
}
Expand description
Trait for different colortypes that can be encoded.
Required Associated Types
Required Associated Constants
sourceconst TIFF_VALUE: PhotometricInterpretation
const TIFF_VALUE: PhotometricInterpretation
The value of the tiff tag PhotometricInterpretation
sourceconst BITS_PER_SAMPLE: &'static [u16]
const BITS_PER_SAMPLE: &'static [u16]
The value of the tiff tag BitsPerSample
sourceconst SAMPLE_FORMAT: &'static [SampleFormat]
const SAMPLE_FORMAT: &'static [SampleFormat]
The value of the tiff tag SampleFormat