opj_stream_t *l_stream = NULL;
opj_codec_t* l_codec = NULL;
opj_image_t* image = NULL;
l_codec = opj_create_decompress(OPJ_CODEC_JP2);
opj_stream_create_default_file_stream("0000001.jp2", 1);
opj_read_header(l_stream, l_codec, &image);
opj_decode(l_codec,l_stream, image );
// The information I'm looking for is only now found in "image->color_space"