jp2_colour_space get_space( )
Java: int Get_space( )
[Declared in "../apps/compressed_io/jp2.h"]
If the return value is JP2_iccLUM_SPACE, JP2_iccRGB_SPACE, the colour space is defined by a restricted ICC profile. If it is JP2_iccANY_SPACE, the colour space is defined by a general ICC profile. In both cases, further information may be obtained using get_icc_profile.
If the return value is JP2_CIELab_SPACE or JP2_CIEJab_SPACE, additional parameters must be recovered via the get_lab_params or get_jab_params functions, as appropriate.
If the return value is JP2_vendor_SPACE, the UUID and any associated parameters must be recovered via the get_vendor_params function.
Otherwise, the function returns one of the enumerated colour spaces, JP2_bilevel1_SPACE, JP2_YCbCr1_SPACE, JP2_YCbCr2_SPACE, JP2_YCbCr3_SPACE, JP2_PhotoYCC_SPACE, JP2_CMY_SPACE, JP2_CMYK_SPACE, JP2_YCCK_SPACE, JP2_bilevel2_SPACE, JP2_sRGB_SPACE, JP2_sLUM_SPACE, JP2_sYCC_SPACE, JP2_esRGB_SPACE, JP2_ROMMRGB_SPACE, JP2_YPbPr60_SPACE, JP2_YPbPr50_SPACE or JP2_esYCC_SPACE. The definitions of these various colour spaces are supplied with the first form of the init function.