summaryrefslogtreecommitdiff
path: root/source/fitz/colorspace-imp.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-09-04 12:18:54 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-09-05 12:52:06 +0200
commit173216938390389c68af78518f3f521434cb66a9 (patch)
tree84e890a0ffc90dcebddeff8e0baa020c94a7097b /source/fitz/colorspace-imp.h
parentf825e989dc7e7e339ca525b52ea46d6ffacbacdf (diff)
downloadmupdf-173216938390389c68af78518f3f521434cb66a9.tar.xz
Use colorspace type enum instead of magic profile names.
Diffstat (limited to 'source/fitz/colorspace-imp.h')
-rw-r--r--source/fitz/colorspace-imp.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/source/fitz/colorspace-imp.h b/source/fitz/colorspace-imp.h
index 8f3b85f6..4664567f 100644
--- a/source/fitz/colorspace-imp.h
+++ b/source/fitz/colorspace-imp.h
@@ -6,12 +6,6 @@
#include "mupdf/fitz/color-management.h"
#include "mupdf/fitz/pixmap.h"
-#define FZ_ICC_PROFILE_GRAY "DeviceGray"
-#define FZ_ICC_PROFILE_RGB "DeviceRGB"
-#define FZ_ICC_PROFILE_BGR "DeviceBGR"
-#define FZ_ICC_PROFILE_CMYK "DeviceCMYK"
-#define FZ_ICC_PROFILE_LAB "Lab"
-
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);
void fz_cmm_init_link(fz_context *ctx, fz_icclink *link, const fz_iccprofile *dst, int dst_extras, const fz_iccprofile *src, int src_extras, const fz_iccprofile *prf, const fz_color_params *rend, int cmm_flags, int num_bytes, int copy_spots);