[trunk] Import patch from sumatrapdf team. Start using new color space when found.
Update issue 225
This commit is contained in:
parent
51e3764519
commit
4a7ba87d99
|
@ -1294,6 +1294,8 @@ OPJ_BOOL opj_jp2_decode(opj_jp2_t *jp2,
|
||||||
p_image->color_space = OPJ_CLRSPC_GRAY;
|
p_image->color_space = OPJ_CLRSPC_GRAY;
|
||||||
else if (jp2->enumcs == 18)
|
else if (jp2->enumcs == 18)
|
||||||
p_image->color_space = OPJ_CLRSPC_SYCC;
|
p_image->color_space = OPJ_CLRSPC_SYCC;
|
||||||
|
else if (jp2->enumcs == 24)
|
||||||
|
p_image->color_space = OPJ_CLRSPC_EYCC;
|
||||||
else
|
else
|
||||||
p_image->color_space = OPJ_CLRSPC_UNKNOWN;
|
p_image->color_space = OPJ_CLRSPC_UNKNOWN;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue