Enum mozjpeg_sys::J_COLOR_SPACE [−][src]
#[repr(C)] pub enum J_COLOR_SPACE {}Show variants
JCS_UNKNOWN, JCS_GRAYSCALE, JCS_RGB, JCS_YCbCr, JCS_CMYK, JCS_YCCK, JCS_EXT_RGB, JCS_EXT_RGBX, JCS_EXT_BGR, JCS_EXT_BGRX, JCS_EXT_XBGR, JCS_EXT_XRGB, JCS_EXT_RGBA, JCS_EXT_BGRA, JCS_EXT_ABGR, JCS_EXT_ARGB, JCS_RGB565,
Variants
Expand description
error/unspecified
Expand description
monochrome
Expand description
red/green/blue as specified by the RGB_RED, RGB_GREEN, RGB_BLUE, and RGB_PIXELSIZE macros
Expand description
Y/Cb/Cr (also known as YUV)
Expand description
C/M/Y/K
Expand description
Y/Cb/Cr/K
Expand description
red/green/blue
Expand description
red/green/blue/x When out_color_space it set to JCS_EXT_RGBX, JCS_EXT_BGRX, JCS_EXT_XBGR, or JCS_EXT_XRGB during decompression, the X byte is undefined, and in order to ensure the best performance, libjpeg-turbo can set that byte to whatever value it wishes.
Expand description
blue/green/red
Expand description
blue/green/red/x
Expand description
x/blue/green/red
Expand description
x/red/green/blue
Expand description
Use the following colorspace constants to ensure that the X byte is set to 0xFF, so that it can be interpreted as an opaque alpha channel.
red/green/blue/alpha
Expand description
blue/green/red/alpha
Expand description
alpha/blue/green/red
Expand description
alpha/red/green/blue
Expand description
5-bit red/6-bit green/5-bit blue
Trait Implementations
impl Clone for J_COLOR_SPACE
[src]
impl Clone for J_COLOR_SPACE
[src]fn clone(&self) -> J_COLOR_SPACE
[src]
fn clone(&self) -> J_COLOR_SPACE
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for J_COLOR_SPACE
[src]
impl Debug for J_COLOR_SPACE
[src]impl PartialEq<J_COLOR_SPACE> for J_COLOR_SPACE
[src]
impl PartialEq<J_COLOR_SPACE> for J_COLOR_SPACE
[src]impl Copy for J_COLOR_SPACE
[src]
impl Eq for J_COLOR_SPACE
[src]
impl StructuralEq for J_COLOR_SPACE
[src]
impl StructuralPartialEq for J_COLOR_SPACE
[src]
Auto Trait Implementations
impl RefUnwindSafe for J_COLOR_SPACE
impl Send for J_COLOR_SPACE
impl Sync for J_COLOR_SPACE
impl Unpin for J_COLOR_SPACE
impl UnwindSafe for J_COLOR_SPACE
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more