Closed GoogleCodeExporter closed 9 years ago
if (numcomps == 0) { color_space = OPJ_CLRSPC_GRAY; } else if ((numcomps >= 3) && (parameters->tcp_mct == 0)) { color_space = OPJ_CLRSPC_SYCC; } else if ((numcomps >= 3) && (parameters->tcp_mct != 2)) { color_space = OPJ_CLRSPC_SRGB; } else { color_space = OPJ_CLRSPC_UNKNOWN; } It seems, the first line should be if (numcomps == 1) {...} (GRAY color space, 1 component)
Original issue reported on code.google.com by kurnose...@roentgenprom.ru on 22 Dec 2014 at 12:48
kurnose...@roentgenprom.ru
This issue was closed by revision r2983.
Original comment by m.darb...@gmail.com on 22 Dec 2014 at 6:39
m.darb...@gmail.com
Original issue reported on code.google.com by
kurnose...@roentgenprom.ru
on 22 Dec 2014 at 12:48