Enum ravif::ColorSpace
source · pub enum ColorSpace {
YCbCr,
RGB,
}Expand description
Variants§
YCbCr
Standard color space for photographic content. Usually the best choice. This library always uses full-resolution color (4:4:4).
RGB
RGB channels are encoded without colorspace transformation.
Usually results in larger file sizes, and is less compatible than YCbCr.
Use only if the content really makes use of RGB, e.g. anaglyph images or RGB subpixel anti-aliasing.
Trait Implementations§
source§impl Clone for ColorSpace
impl Clone for ColorSpace
source§fn clone(&self) -> ColorSpace
fn clone(&self) -> ColorSpace
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more