I attached a file containing the modification I have done for getting/setting
the resolution.
I've got another stupid question:
Can anybody explain me about the reason it is like that:
/**
* Supported image color spaces
*/
typedef enum COLOR_SPACE {
OPJ_CLRSPC_UNKNOWN = -1, /**< not supported by the library */
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_EYCC = 4, /**< e-YCC */
OPJ_CLRSPC_CMYK = 5 /**< CMYK */
} OPJ_COLOR_SPACE;
instead of instead of using the values defined in the norme:
typedef enum COLOR_SPACE {
OPJ_CLRSPC_UNKNOWN = -1, /**< not supported by the library */
OPJ_CLRSPC_UNSPECIFIED = 0, /**< not specified in the codestream */
OPJ_CLRSPC_CMYK = 12,
OPJ_CLRSPC_YCCK = 13,
OPJ_CLRSPC_LAB = 14,
OPJ_CLRSPC_SRGB = 16, /**< sRGB */
OPJ_CLRSPC_GRAY = 17, /**< grayscale */
OPJ_CLRSPC_SYCC = 18 /**< YUV */
OPJ_CLRSPC_EYCC = 24, /**< e-YCC */
} OPJ_COLOR_SPACE;
Thanks .
Mika
Original issue reported on code.google.com by legu...@gmail.com on 20 Aug 2014 at 3:25
Original issue reported on code.google.com by
legu...@gmail.com
on 20 Aug 2014 at 3:25Attachments: