diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-07-14 13:53:17 +0200 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-07-17 19:32:06 +0100 |
commit | efabbbe651d4bdd24ced305368215ef59230a6de (patch) | |
tree | 46a1c491349aa9d10036b7af2f1ff6574243f11c /source/fitz/colorspace-imp.h | |
parent | a072383d980fda364df6cd123383e9d1327430b7 (diff) | |
download | mupdf-efabbbe651d4bdd24ced305368215ef59230a6de.tar.xz |
Set colorspace name field.
Diffstat (limited to 'source/fitz/colorspace-imp.h')
-rw-r--r-- | source/fitz/colorspace-imp.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/fitz/colorspace-imp.h b/source/fitz/colorspace-imp.h index 9c909a4d..47688c4a 100644 --- a/source/fitz/colorspace-imp.h +++ b/source/fitz/colorspace-imp.h @@ -6,6 +6,12 @@ #include "mupdf/fitz/color-management.h" #include "mupdf/fitz/pixmap.h" +#define FZ_ICC_PROFILE_GRAY "DeviceGray-ICCBased" +#define FZ_ICC_PROFILE_RGB "DeviceRGB-ICCBased" +#define FZ_ICC_PROFILE_BGR "DeviceBGR-ICCBased" +#define FZ_ICC_PROFILE_CMYK "DeviceCMYK-ICCBased" +#define FZ_ICC_PROFILE_LAB "Lab-ICCBased" + int fz_cmm_avoid_white_fix_flag(fz_context *ctx); void fz_cmm_transform_pixmap(fz_context *ctx, fz_icclink *link, fz_pixmap *dst, fz_pixmap *src); void fz_cmm_transform_color(fz_context *ctx, fz_icclink *link, unsigned short *dst, const unsigned short *src); @@ -20,7 +26,7 @@ struct fz_colorspace_s { fz_storable storable; size_t size; - char name[16]; + char name[24]; int n; int is_subtractive; fz_colorspace_convert_fn *to_ccs; |