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
|
http://bugs.gentoo.org/show_bug.cgi?id=298671
--- libvips/colour/im_icc_transform.c
+++ libvips/colour/im_icc_transform.c
@@ -63,7 +63,7 @@
im_icc_transform( IMAGE *in, IMAGE *out,
const char *input_profile_filename,
const char *output_profile_filename,
- int intent )
+ VipsIntent intent )
{
im_error( "im_icc_transform", "%s",
_( "lcms library not linked to this VIPS" ) );
@@ -73,7 +73,7 @@
int
im_icc_import( IMAGE *in, IMAGE *out,
- const char *input_profile_filename, int intent )
+ const char *input_profile_filename, VipsIntent intent )
{
im_error( "im_icc_import", "%s",
_( "lmcs library not linked to this VIPS" ) );
@@ -82,7 +82,7 @@
}
int
-im_icc_import_embedded( IMAGE *in, IMAGE *out, int intent )
+im_icc_import_embedded( IMAGE *in, IMAGE *out, VipsIntent intent )
{
im_error( "im_icc_import", "%s",
_( "lmcs library not linked to this VIPS" ) );
@@ -92,7 +92,7 @@
int
im_icc_export_depth( IMAGE *in, IMAGE *out, int depth,
- const char *output_profile_filename, int intent )
+ const char *output_profile_filename, VipsIntent intent )
{
im_error( "im_icc_export_depth", "%s",
_( "lmcs library not linked to this VIPS" ) );
@@ -101,16 +101,6 @@
}
int
-im_icc_export( IMAGE *in, IMAGE *out,
- const char *output_profile_filename, int intent )
-{
- im_error( "im_icc_export", "%s",
- _( "lmcs library not linked to this VIPS" ) );
-
- return( -1 );
-}
-
-int
im_icc_ac2rc( IMAGE *in, IMAGE *out, const char *profile_filename )
{
im_error( "im_icc_ac2rc", "%s",
|