Type Alias openjpeg_sys::opj_image_t

source ·
pub type opj_image_t = opj_image;
Expand description

Defines image data and characteristics

Aliased Type§

struct opj_image_t {
    pub x0: u32,
    pub y0: u32,
    pub x1: u32,
    pub y1: u32,
    pub numcomps: u32,
    pub color_space: COLOR_SPACE,
    pub comps: *mut opj_image_comp,
    pub icc_profile_buf: *mut u8,
    pub icc_profile_len: u32,
}

Fields§

§x0: u32

XOsiz: horizontal offset from the origin of the reference grid to the left side of the image area

§y0: u32

YOsiz: vertical offset from the origin of the reference grid to the top side of the image area

§x1: u32

Xsiz: width of the reference grid

§y1: u32

Ysiz: height of the reference grid

§numcomps: u32

number of components in the image

§color_space: COLOR_SPACE

color space: sRGB, Greyscale or YUV

§comps: *mut opj_image_comp

image components

§icc_profile_buf: *mut u8

‘restricted’ ICC profile

§icc_profile_len: u32

size of ICC profile