Enum openjpeg_sys::COLOR_SPACE
source · #[repr(i32)]pub enum COLOR_SPACE {
OPJ_CLRSPC_UNKNOWN = -1,
OPJ_CLRSPC_UNSPECIFIED = 0,
OPJ_CLRSPC_SRGB = 1,
OPJ_CLRSPC_GRAY = 2,
OPJ_CLRSPC_SYCC = 3,
OPJ_CLRSPC_EYCC = 4,
OPJ_CLRSPC_CMYK = 5,
}
Expand description
Supported image color spaces
Variants§
OPJ_CLRSPC_UNKNOWN = -1
< not supported by the library
OPJ_CLRSPC_UNSPECIFIED = 0
< not specified in the codestream
OPJ_CLRSPC_SRGB = 1
< sRGB
OPJ_CLRSPC_GRAY = 2
< grayscale
OPJ_CLRSPC_SYCC = 3
< YUV
OPJ_CLRSPC_EYCC = 4
< e-YCC
OPJ_CLRSPC_CMYK = 5
< CMYK
Trait Implementations§
source§impl Clone for COLOR_SPACE
impl Clone for COLOR_SPACE
source§fn clone(&self) -> COLOR_SPACE
fn clone(&self) -> COLOR_SPACE
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 moresource§impl Debug for COLOR_SPACE
impl Debug for COLOR_SPACE
source§impl Hash for COLOR_SPACE
impl Hash for COLOR_SPACE
source§impl PartialEq for COLOR_SPACE
impl PartialEq for COLOR_SPACE
impl Copy for COLOR_SPACE
impl Eq for COLOR_SPACE
impl StructuralPartialEq for COLOR_SPACE
Auto Trait Implementations§
impl Freeze for COLOR_SPACE
impl RefUnwindSafe for COLOR_SPACE
impl Send for COLOR_SPACE
impl Sync for COLOR_SPACE
impl Unpin for COLOR_SPACE
impl UnwindSafe for COLOR_SPACE
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)