summaryrefslogtreecommitdiff
path: root/base/gsicc.h
blob: 8304e72e2866ffd6815ec0037b6ce272190f2d77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* Copyright (C) 2001-2023 Artifex Software, Inc.
   All Rights Reserved.

   This software is provided AS-IS with no warranty, either express or
   implied.

   This software is distributed under license and may not be copied,
   modified or distributed except as expressly authorized under the terms
   of the license contained in the file LICENSE in this distribution.

   Refer to licensing information at http://www.artifex.com or contact
   Artifex Software, Inc.,  39 Mesa Street, Suite 108A, San Francisco,
   CA 94129, USA, for further information.
*/


/* Structures for ICCBased color space parameters */
/* requires: gspsace.h, gscolor2.h */

#ifndef gsicc_INCLUDED
#  define gsicc_INCLUDED

#include "gscie.h"
#include "gxcspace.h"
/*
 * Build an ICCBased color space.
 *
 */
extern  int     gs_cspace_build_ICC( gs_color_space **   ppcspace,
                                        void *              client_data,
                                        gs_memory_t *       pmem );

extern const gs_color_space_type gs_color_space_type_ICC;
extern cs_proc_remap_color(gx_remap_ICC_imagelab);

int gx_change_color_model(gx_device *dev, int num_comps, int bit_depth);

int gx_remap_ICC_with_link(const gs_client_color * pcc, const gs_color_space * pcs,
        gx_device_color * pdc, const gs_gstate * pgs, gx_device * dev,
                gs_color_select_t select, gsicc_link_t *icc_link);

#endif /* gsicc_INCLUDED */