diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2017-12-13 17:28:11 -0800 |
---|---|---|
committer | Michael Vrhel <michael.vrhel@artifex.com> | 2017-12-28 09:41:10 -0800 |
commit | 9a089895193d71ad6ad70a91cbf9fe02a121261c (patch) | |
tree | 750550c2b68433173eda9dfe14f666a321023fad /base/gslibctx.c | |
parent | 4fb32aef42d267948d97243e7f5512a2b37431b0 (diff) | |
download | ghostpdl-9a089895193d71ad6ad70a91cbf9fe02a121261c.tar.gz |
Introduce ColorAccuracy setting
Set the level of accuracy that should be used. A setting of 0 will result in less accurate
color rendering compared to a setting of 2. However, the creation of a transformation
will be faster at a setting of 0 compared to a setting of 2. Default setting is 2.
Diffstat (limited to 'base/gslibctx.c')
-rw-r--r-- | base/gslibctx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/gslibctx.c b/base/gslibctx.c index ffa1c5d4c..8386d9d85 100644 --- a/base/gslibctx.c +++ b/base/gslibctx.c @@ -178,6 +178,7 @@ int gs_lib_ctx_init( gs_memory_t *mem ) /* Initialize our default ICCProfilesDir */ pio->profiledir = NULL; pio->profiledir_len = 0; + pio->icc_color_accuracy = MAX_COLOR_ACCURACY; if (gs_lib_ctx_set_icc_directory(mem, DEFAULT_DIR_ICC, strlen(DEFAULT_DIR_ICC)) < 0) goto Failure; |