blob: 27de5701be6db649ceccfbaa7ac695adcfa47502 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
#ifndef XUTILS_H
#define XUTILS_H
/*
* xicc standalone utilities.
*
* Author: Graeme W. Gill
* Date: 28/6/00
* Version: 1.00
*
* Copyright 2000 - 2006 Graeme W. Gill
* All rights reserved.
* This material is licenced under the GNU AFFERO GENERAL PUBLIC LICENSE Version 3 :-
* see the License.txt file for licencing details.
*
* Based on the old iccXfm class.
*/
/*
* These utilities, while living in xicc, are meant to
* not depend on other modules.
*/
/* Return a lut resolution given the input dimesion and quality */
/* Input dimension [0-8], quality: low, medium, high, very high. */
/* A returned value of 0 indicates illegal. */
int dim_to_clutres(int dim, int quality);
/* Open an ICC file or a TIFF or JPEG file with an embedded ICC profile for reading. */
/* Return NULL on error */
icc *read_embedded_icc(char *file_name);
#endif /* XUTILS_H */
|