#[repr(i32)]pub enum OPJ_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 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 duplicate 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