[trunk] Import patch from sumatrapdf team. This patch adds new colorspace handling.

Update issue 225
This commit is contained in:
Mathieu Malaterre 2014-02-26 11:04:33 +00:00
parent 3da30304fc
commit 70ede09310
1 changed files with 3 additions and 2 deletions

View File

@ -193,10 +193,11 @@ typedef enum PROG_ORDER {
*/
typedef enum COLOR_SPACE {
OPJ_CLRSPC_UNKNOWN = -1, /**< not supported by the library */
OPJ_CLRSPC_UNSPECIFIED = 0, /**< not specified in the codestream */
OPJ_CLRSPC_UNSPECIFIED = 0, /**< not specified in the codestream */
OPJ_CLRSPC_SRGB = 1, /**< sRGB */
OPJ_CLRSPC_GRAY = 2, /**< grayscale */
OPJ_CLRSPC_SYCC = 3 /**< YUV */
OPJ_CLRSPC_SYCC = 3, /**< YUV */
OPJ_CLRSPC_EYCC = 4 /**< e-YCC */
} OPJ_COLOR_SPACE;
/**