@img/sharp-libvips-dev 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/cplusplus/VConnection.cpp +54 -54
- package/cplusplus/VError.cpp +20 -18
- package/cplusplus/VImage.cpp +636 -589
- package/cplusplus/VInterpolate.cpp +22 -22
- package/cplusplus/VRegion.cpp +4 -4
- package/cplusplus/vips-operators.cpp +2326 -2301
- package/include/aom/aom_codec.h +10 -6
- package/include/aom/aom_decoder.h +1 -1
- package/include/aom/aom_encoder.h +9 -2
- package/include/aom/aomcx.h +72 -3
- package/include/cairo/cairo-ft.h +1 -1
- package/include/cairo/cairo-gobject.h +8 -0
- package/include/cairo/cairo-svg.h +3 -3
- package/include/cairo/cairo-version.h +2 -2
- package/include/cairo/cairo.h +91 -24
- package/include/glib-2.0/glib/gmacros.h +1 -1
- package/include/glib-2.0/glib/gtestutils.h +1 -1
- package/include/glib-2.0/gobject/gtype.h +7 -7
- package/include/harfbuzz/hb-version.h +2 -2
- package/include/hwy/aligned_allocator.h +211 -0
- package/include/hwy/base.h +1517 -0
- package/include/hwy/cache_control.h +108 -0
- package/include/hwy/detect_compiler_arch.h +281 -0
- package/include/hwy/detect_targets.h +644 -0
- package/include/hwy/foreach_target.h +340 -0
- package/include/hwy/highway.h +435 -0
- package/include/hwy/highway_export.h +74 -0
- package/include/hwy/nanobenchmark.h +171 -0
- package/include/hwy/ops/arm_neon-inl.h +8913 -0
- package/include/hwy/ops/arm_sve-inl.h +5105 -0
- package/include/hwy/ops/emu128-inl.h +2811 -0
- package/include/hwy/ops/generic_ops-inl.h +4745 -0
- package/include/hwy/ops/ppc_vsx-inl.h +5716 -0
- package/include/hwy/ops/rvv-inl.h +5070 -0
- package/include/hwy/ops/scalar-inl.h +1995 -0
- package/include/hwy/ops/set_macros-inl.h +578 -0
- package/include/hwy/ops/shared-inl.h +539 -0
- package/include/hwy/ops/tuple-inl.h +125 -0
- package/include/hwy/ops/wasm_128-inl.h +5917 -0
- package/include/hwy/ops/x86_128-inl.h +11173 -0
- package/include/hwy/ops/x86_256-inl.h +7529 -0
- package/include/hwy/ops/x86_512-inl.h +6849 -0
- package/include/hwy/per_target.h +44 -0
- package/include/hwy/print-inl.h +62 -0
- package/include/hwy/print.h +75 -0
- package/include/hwy/robust_statistics.h +148 -0
- package/include/hwy/targets.h +338 -0
- package/include/hwy/timer-inl.h +200 -0
- package/include/hwy/timer.h +55 -0
- package/include/jconfig.h +2 -2
- package/include/jpeglib.h +3 -2
- package/include/libheif/heif.h +461 -384
- package/include/libheif/heif_cxx.h +4 -1
- package/include/libheif/heif_plugin.h +1 -1
- package/include/libheif/heif_properties.h +138 -0
- package/include/libheif/heif_regions.h +866 -0
- package/include/libheif/heif_version.h +3 -3
- package/include/libpng16/pnglibconf.h +1 -1
- package/include/pnglibconf.h +1 -1
- package/include/vips/VConnection8.h +43 -49
- package/include/vips/VError8.h +27 -24
- package/include/vips/VImage8.h +4861 -4597
- package/include/vips/VInterpolate8.h +24 -27
- package/include/vips/VRegion8.h +32 -33
- package/include/vips/arithmetic.h +169 -169
- package/include/vips/basic.h +33 -33
- package/include/vips/buf.h +56 -54
- package/include/vips/colour.h +95 -95
- package/include/vips/connection.h +190 -193
- package/include/vips/conversion.h +91 -91
- package/include/vips/convolution.h +36 -30
- package/include/vips/create.h +63 -63
- package/include/vips/dbuf.h +35 -37
- package/include/vips/debug.h +65 -33
- package/include/vips/draw.h +41 -41
- package/include/vips/enumtypes.h +54 -51
- package/include/vips/error.h +63 -63
- package/include/vips/foreign.h +263 -223
- package/include/vips/format.h +48 -48
- package/include/vips/freqfilt.h +22 -22
- package/include/vips/gate.h +55 -47
- package/include/vips/generate.h +34 -34
- package/include/vips/header.h +111 -101
- package/include/vips/histogram.h +28 -28
- package/include/vips/image.h +213 -213
- package/include/vips/interpolate.h +40 -41
- package/include/vips/memory.h +61 -52
- package/include/vips/morphology.h +24 -24
- package/include/vips/mosaicing.h +32 -33
- package/include/vips/object.h +371 -357
- package/include/vips/operation.h +68 -67
- package/include/vips/private.h +76 -76
- package/include/vips/rect.h +26 -26
- package/include/vips/region.h +92 -92
- package/include/vips/resample.h +38 -38
- package/include/vips/sbuf.h +53 -54
- package/include/vips/semaphore.h +24 -24
- package/include/vips/thread.h +30 -27
- package/include/vips/threadpool.h +48 -49
- package/include/vips/transform.h +39 -39
- package/include/vips/type.h +90 -85
- package/include/vips/util.h +274 -229
- package/include/vips/vector.h +24 -144
- package/include/vips/version.h +9 -9
- package/include/vips/vips.h +41 -40
- package/include/zlib.h +23 -19
- package/package.json +1 -1
- package/versions.json +9 -9
package/include/vips/basic.h
CHANGED
|
@@ -6,28 +6,28 @@
|
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
This file is part of VIPS.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
VIPS is free software; you can redistribute it and/or modify
|
|
12
|
+
it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
the Free Software Foundation; either version 2 of the License, or
|
|
14
|
+
(at your option) any later version.
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
This program is distributed in the hope that it will be useful,
|
|
17
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
GNU Lesser General Public License for more details.
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
along with this program; if not, write to the Free Software
|
|
23
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
24
|
+
02110-1301 USA
|
|
25
25
|
|
|
26
26
|
*/
|
|
27
27
|
|
|
28
28
|
/*
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
|
|
31
31
|
|
|
32
32
|
*/
|
|
33
33
|
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
/* Defined in config.h
|
|
38
38
|
*/
|
|
39
39
|
#ifdef _VIPS_PUBLIC
|
|
40
|
-
#
|
|
40
|
+
#define VIPS_API _VIPS_PUBLIC extern
|
|
41
41
|
#else
|
|
42
|
-
#
|
|
42
|
+
#define VIPS_API extern
|
|
43
43
|
#endif
|
|
44
44
|
|
|
45
45
|
/* VIPS_DISABLE_DEPRECATION_WARNINGS:
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
* Must be defined before including `vips/vips.h`.
|
|
50
50
|
*/
|
|
51
51
|
#ifdef VIPS_DISABLE_DEPRECATION_WARNINGS
|
|
52
|
-
#
|
|
53
|
-
#
|
|
52
|
+
#define VIPS_DEPRECATED VIPS_API
|
|
53
|
+
#define VIPS_DEPRECATED_FOR(f) VIPS_API
|
|
54
54
|
#else
|
|
55
|
-
#
|
|
56
|
-
#
|
|
55
|
+
#define VIPS_DEPRECATED G_DEPRECATED VIPS_API
|
|
56
|
+
#define VIPS_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) VIPS_API
|
|
57
57
|
#endif
|
|
58
58
|
|
|
59
59
|
#ifdef __cplusplus
|
|
@@ -70,16 +70,16 @@ typedef unsigned char VipsPel;
|
|
|
70
70
|
|
|
71
71
|
/* Also used for eg. vips_local() and friends.
|
|
72
72
|
*/
|
|
73
|
-
typedef int (*VipsCallbackFn)(
|
|
73
|
+
typedef int (*VipsCallbackFn)(void *a, void *b);
|
|
74
74
|
|
|
75
75
|
/* Like GFunc, but return a value.
|
|
76
76
|
*/
|
|
77
|
-
typedef void *(*VipsSListMap2Fn)(
|
|
78
|
-
void *a, void *b
|
|
79
|
-
typedef void *(*VipsSListMap4Fn)(
|
|
80
|
-
void *a, void *b, void *c, void *d
|
|
81
|
-
typedef void *(*VipsSListFold2Fn)(
|
|
82
|
-
void *a, void *b, void *c
|
|
77
|
+
typedef void *(*VipsSListMap2Fn)(void *item,
|
|
78
|
+
void *a, void *b);
|
|
79
|
+
typedef void *(*VipsSListMap4Fn)(void *item,
|
|
80
|
+
void *a, void *b, void *c, void *d);
|
|
81
|
+
typedef void *(*VipsSListFold2Fn)(void *item,
|
|
82
|
+
void *a, void *b, void *c);
|
|
83
83
|
|
|
84
84
|
typedef enum {
|
|
85
85
|
VIPS_PRECISION_INTEGER,
|
|
@@ -91,19 +91,19 @@ typedef enum {
|
|
|
91
91
|
/* Just for testing.
|
|
92
92
|
*/
|
|
93
93
|
VIPS_API
|
|
94
|
-
char *vips_path_filename7(
|
|
94
|
+
char *vips_path_filename7(const char *path);
|
|
95
95
|
VIPS_API
|
|
96
|
-
char *vips_path_mode7(
|
|
96
|
+
char *vips_path_mode7(const char *path);
|
|
97
97
|
|
|
98
|
-
struct _VipsImage;
|
|
98
|
+
struct _VipsImage;
|
|
99
99
|
typedef struct _VipsImage VipsImage;
|
|
100
|
-
struct _VipsRegion;
|
|
100
|
+
struct _VipsRegion;
|
|
101
101
|
typedef struct _VipsRegion VipsRegion;
|
|
102
102
|
struct _VipsBuf;
|
|
103
103
|
typedef struct _VipsBuf VipsBuf;
|
|
104
|
-
struct _VipsSource;
|
|
104
|
+
struct _VipsSource;
|
|
105
105
|
typedef struct _VipsSource VipsSource;
|
|
106
|
-
struct _VipsTarget;
|
|
106
|
+
struct _VipsTarget;
|
|
107
107
|
typedef struct _VipsTarget VipsTarget;
|
|
108
108
|
|
|
109
109
|
#ifdef __cplusplus
|
package/include/vips/buf.h
CHANGED
|
@@ -3,28 +3,28 @@
|
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
6
|
+
This file is part of VIPS.
|
|
7
|
+
|
|
8
|
+
VIPS is free software; you can redistribute it and/or modify
|
|
9
|
+
it under the terms of the GNU Lesser General Public License as published by
|
|
10
|
+
the Free Software Foundation; either version 2 of the License, or
|
|
11
|
+
(at your option) any later version.
|
|
12
|
+
|
|
13
|
+
This program is distributed in the hope that it will be useful,
|
|
14
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
GNU Lesser General Public License for more details.
|
|
17
|
+
|
|
18
|
+
You should have received a copy of the GNU Lesser General Public License
|
|
19
|
+
along with this program; if not, write to the Free Software
|
|
20
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
21
|
+
02110-1301 USA
|
|
22
22
|
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
/*
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
|
|
28
28
|
|
|
29
29
|
*/
|
|
30
30
|
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
extern "C" {
|
|
40
40
|
#endif /*__cplusplus*/
|
|
41
41
|
|
|
42
|
-
/* A string in the process of being written to ... multiple calls to
|
|
43
|
-
* vips_buf_append add to it. On overflow append "..." and block further
|
|
42
|
+
/* A string in the process of being written to ... multiple calls to
|
|
43
|
+
* vips_buf_append add to it. On overflow append "..." and block further
|
|
44
44
|
* writes.
|
|
45
45
|
*/
|
|
46
46
|
|
|
@@ -48,68 +48,70 @@ struct _VipsBuf {
|
|
|
48
48
|
/* All fields are private.
|
|
49
49
|
*/
|
|
50
50
|
/*< private >*/
|
|
51
|
-
char *base;
|
|
52
|
-
int mx;
|
|
53
|
-
int i;
|
|
54
|
-
gboolean full;
|
|
55
|
-
int lasti;
|
|
56
|
-
gboolean dynamic;
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
#define VIPS_BUF_STATIC(
|
|
60
|
-
{
|
|
51
|
+
char *base; /* String base */
|
|
52
|
+
int mx; /* Maximum length */
|
|
53
|
+
int i; /* Current write point */
|
|
54
|
+
gboolean full; /* String has filled, block writes */
|
|
55
|
+
int lasti; /* For read-recent */
|
|
56
|
+
gboolean dynamic; /* We own the string with malloc() */
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
#define VIPS_BUF_STATIC(TEXT) \
|
|
60
|
+
{ \
|
|
61
|
+
&TEXT[0], sizeof(TEXT), 0, FALSE, 0, FALSE \
|
|
62
|
+
}
|
|
61
63
|
|
|
62
64
|
/* Init and append to one of the above.
|
|
63
65
|
*/
|
|
64
66
|
VIPS_API
|
|
65
|
-
void vips_buf_rewind(
|
|
67
|
+
void vips_buf_rewind(VipsBuf *buf);
|
|
66
68
|
VIPS_API
|
|
67
|
-
void vips_buf_destroy(
|
|
69
|
+
void vips_buf_destroy(VipsBuf *buf);
|
|
68
70
|
VIPS_API
|
|
69
|
-
void vips_buf_init(
|
|
71
|
+
void vips_buf_init(VipsBuf *buf);
|
|
70
72
|
VIPS_API
|
|
71
|
-
void vips_buf_set_static(
|
|
73
|
+
void vips_buf_set_static(VipsBuf *buf, char *base, int mx);
|
|
72
74
|
VIPS_API
|
|
73
|
-
void vips_buf_set_dynamic(
|
|
75
|
+
void vips_buf_set_dynamic(VipsBuf *buf, int mx);
|
|
74
76
|
VIPS_API
|
|
75
|
-
void vips_buf_init_static(
|
|
77
|
+
void vips_buf_init_static(VipsBuf *buf, char *base, int mx);
|
|
76
78
|
VIPS_API
|
|
77
|
-
void vips_buf_init_dynamic(
|
|
79
|
+
void vips_buf_init_dynamic(VipsBuf *buf, int mx);
|
|
78
80
|
VIPS_API
|
|
79
|
-
gboolean vips_buf_appendns(
|
|
81
|
+
gboolean vips_buf_appendns(VipsBuf *buf, const char *str, int sz);
|
|
80
82
|
VIPS_API
|
|
81
|
-
gboolean vips_buf_appends(
|
|
83
|
+
gboolean vips_buf_appends(VipsBuf *buf, const char *str);
|
|
82
84
|
VIPS_API
|
|
83
|
-
gboolean vips_buf_appendf(
|
|
84
|
-
G_GNUC_PRINTF(
|
|
85
|
+
gboolean vips_buf_appendf(VipsBuf *buf, const char *fmt, ...)
|
|
86
|
+
G_GNUC_PRINTF(2, 3);
|
|
85
87
|
VIPS_API
|
|
86
|
-
gboolean vips_buf_vappendf(
|
|
88
|
+
gboolean vips_buf_vappendf(VipsBuf *buf, const char *fmt, va_list ap);
|
|
87
89
|
VIPS_API
|
|
88
|
-
gboolean vips_buf_appendc(
|
|
90
|
+
gboolean vips_buf_appendc(VipsBuf *buf, char ch);
|
|
89
91
|
VIPS_API
|
|
90
|
-
gboolean vips_buf_appendsc(
|
|
92
|
+
gboolean vips_buf_appendsc(VipsBuf *buf, gboolean quote, const char *str);
|
|
91
93
|
VIPS_API
|
|
92
|
-
gboolean vips_buf_appendgv(
|
|
94
|
+
gboolean vips_buf_appendgv(VipsBuf *buf, GValue *value);
|
|
93
95
|
VIPS_API
|
|
94
|
-
gboolean vips_buf_append_size(
|
|
96
|
+
gboolean vips_buf_append_size(VipsBuf *buf, size_t n);
|
|
95
97
|
VIPS_API
|
|
96
|
-
gboolean vips_buf_removec(
|
|
98
|
+
gboolean vips_buf_removec(VipsBuf *buf, char ch);
|
|
97
99
|
VIPS_API
|
|
98
|
-
gboolean vips_buf_change(
|
|
100
|
+
gboolean vips_buf_change(VipsBuf *buf, const char *o, const char *n);
|
|
99
101
|
VIPS_API
|
|
100
|
-
gboolean vips_buf_is_empty(
|
|
102
|
+
gboolean vips_buf_is_empty(VipsBuf *buf);
|
|
101
103
|
VIPS_API
|
|
102
|
-
gboolean vips_buf_is_full(
|
|
104
|
+
gboolean vips_buf_is_full(VipsBuf *buf);
|
|
103
105
|
VIPS_API
|
|
104
|
-
const char *vips_buf_all(
|
|
106
|
+
const char *vips_buf_all(VipsBuf *buf);
|
|
105
107
|
VIPS_API
|
|
106
|
-
const char *vips_buf_firstline(
|
|
108
|
+
const char *vips_buf_firstline(VipsBuf *buf);
|
|
107
109
|
VIPS_API
|
|
108
|
-
gboolean vips_buf_appendg(
|
|
110
|
+
gboolean vips_buf_appendg(VipsBuf *buf, double g);
|
|
109
111
|
VIPS_API
|
|
110
|
-
gboolean vips_buf_appendd(
|
|
112
|
+
gboolean vips_buf_appendd(VipsBuf *buf, int d);
|
|
111
113
|
VIPS_API
|
|
112
|
-
int vips_buf_len(
|
|
114
|
+
int vips_buf_len(VipsBuf *buf);
|
|
113
115
|
|
|
114
116
|
#ifdef __cplusplus
|
|
115
117
|
}
|
package/include/vips/colour.h
CHANGED
|
@@ -11,28 +11,28 @@
|
|
|
11
11
|
|
|
12
12
|
/*
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
14
|
+
This file is part of VIPS.
|
|
15
|
+
|
|
16
|
+
VIPS is free software; you can redistribute it and/or modify
|
|
17
|
+
it under the terms of the GNU Lesser General Public License as published by
|
|
18
|
+
the Free Software Foundation; either version 2 of the License, or
|
|
19
|
+
(at your option) any later version.
|
|
20
|
+
|
|
21
|
+
This program is distributed in the hope that it will be useful,
|
|
22
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
23
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
24
|
+
GNU Lesser General Public License for more details.
|
|
25
|
+
|
|
26
|
+
You should have received a copy of the GNU Lesser General Public License
|
|
27
|
+
along with this program; if not, write to the Free Software
|
|
28
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
29
|
+
02110-1301 USA
|
|
30
30
|
|
|
31
31
|
*/
|
|
32
32
|
|
|
33
33
|
/*
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
|
|
36
36
|
|
|
37
37
|
*/
|
|
38
38
|
|
|
@@ -108,196 +108,196 @@ typedef enum {
|
|
|
108
108
|
} VipsPCS;
|
|
109
109
|
|
|
110
110
|
VIPS_API
|
|
111
|
-
gboolean vips_colourspace_issupported(
|
|
111
|
+
gboolean vips_colourspace_issupported(const VipsImage *image);
|
|
112
112
|
VIPS_API
|
|
113
|
-
int vips_colourspace(
|
|
114
|
-
VipsInterpretation space, ...
|
|
113
|
+
int vips_colourspace(VipsImage *in, VipsImage **out,
|
|
114
|
+
VipsInterpretation space, ...)
|
|
115
115
|
G_GNUC_NULL_TERMINATED;
|
|
116
116
|
|
|
117
117
|
VIPS_API
|
|
118
|
-
int vips_LabQ2sRGB(
|
|
118
|
+
int vips_LabQ2sRGB(VipsImage *in, VipsImage **out, ...)
|
|
119
119
|
G_GNUC_NULL_TERMINATED;
|
|
120
120
|
VIPS_API
|
|
121
|
-
int vips_rad2float(
|
|
121
|
+
int vips_rad2float(VipsImage *in, VipsImage **out, ...)
|
|
122
122
|
G_GNUC_NULL_TERMINATED;
|
|
123
123
|
VIPS_API
|
|
124
|
-
int vips_float2rad(
|
|
124
|
+
int vips_float2rad(VipsImage *in, VipsImage **out, ...)
|
|
125
125
|
G_GNUC_NULL_TERMINATED;
|
|
126
126
|
VIPS_API
|
|
127
|
-
int vips_LabS2LabQ(
|
|
127
|
+
int vips_LabS2LabQ(VipsImage *in, VipsImage **out, ...)
|
|
128
128
|
G_GNUC_NULL_TERMINATED;
|
|
129
129
|
VIPS_API
|
|
130
|
-
int vips_LabQ2LabS(
|
|
130
|
+
int vips_LabQ2LabS(VipsImage *in, VipsImage **out, ...)
|
|
131
131
|
G_GNUC_NULL_TERMINATED;
|
|
132
132
|
VIPS_API
|
|
133
|
-
int vips_LabQ2Lab(
|
|
133
|
+
int vips_LabQ2Lab(VipsImage *in, VipsImage **out, ...)
|
|
134
134
|
G_GNUC_NULL_TERMINATED;
|
|
135
135
|
VIPS_API
|
|
136
|
-
int vips_Lab2LabQ(
|
|
136
|
+
int vips_Lab2LabQ(VipsImage *in, VipsImage **out, ...)
|
|
137
137
|
G_GNUC_NULL_TERMINATED;
|
|
138
138
|
VIPS_API
|
|
139
|
-
int vips_LCh2Lab(
|
|
139
|
+
int vips_LCh2Lab(VipsImage *in, VipsImage **out, ...)
|
|
140
140
|
G_GNUC_NULL_TERMINATED;
|
|
141
141
|
VIPS_API
|
|
142
|
-
int vips_Lab2LCh(
|
|
142
|
+
int vips_Lab2LCh(VipsImage *in, VipsImage **out, ...)
|
|
143
143
|
G_GNUC_NULL_TERMINATED;
|
|
144
144
|
VIPS_API
|
|
145
|
-
int vips_Yxy2Lab(
|
|
145
|
+
int vips_Yxy2Lab(VipsImage *in, VipsImage **out, ...)
|
|
146
146
|
G_GNUC_NULL_TERMINATED;
|
|
147
147
|
VIPS_API
|
|
148
|
-
int vips_CMC2XYZ(
|
|
148
|
+
int vips_CMC2XYZ(VipsImage *in, VipsImage **out, ...)
|
|
149
149
|
G_GNUC_NULL_TERMINATED;
|
|
150
150
|
VIPS_API
|
|
151
|
-
int vips_Lab2XYZ(
|
|
151
|
+
int vips_Lab2XYZ(VipsImage *in, VipsImage **out, ...)
|
|
152
152
|
G_GNUC_NULL_TERMINATED;
|
|
153
153
|
VIPS_API
|
|
154
|
-
int vips_XYZ2Lab(
|
|
154
|
+
int vips_XYZ2Lab(VipsImage *in, VipsImage **out, ...)
|
|
155
155
|
G_GNUC_NULL_TERMINATED;
|
|
156
156
|
|
|
157
157
|
VIPS_API
|
|
158
|
-
int vips_XYZ2scRGB(
|
|
158
|
+
int vips_XYZ2scRGB(VipsImage *in, VipsImage **out, ...)
|
|
159
159
|
G_GNUC_NULL_TERMINATED;
|
|
160
160
|
VIPS_API
|
|
161
|
-
int vips_scRGB2sRGB(
|
|
161
|
+
int vips_scRGB2sRGB(VipsImage *in, VipsImage **out, ...)
|
|
162
162
|
G_GNUC_NULL_TERMINATED;
|
|
163
163
|
VIPS_API
|
|
164
|
-
int vips_scRGB2BW(
|
|
164
|
+
int vips_scRGB2BW(VipsImage *in, VipsImage **out, ...)
|
|
165
165
|
G_GNUC_NULL_TERMINATED;
|
|
166
166
|
VIPS_API
|
|
167
|
-
int vips_sRGB2scRGB(
|
|
167
|
+
int vips_sRGB2scRGB(VipsImage *in, VipsImage **out, ...)
|
|
168
168
|
G_GNUC_NULL_TERMINATED;
|
|
169
169
|
VIPS_API
|
|
170
|
-
int vips_scRGB2XYZ(
|
|
170
|
+
int vips_scRGB2XYZ(VipsImage *in, VipsImage **out, ...)
|
|
171
171
|
G_GNUC_NULL_TERMINATED;
|
|
172
172
|
VIPS_API
|
|
173
|
-
int vips_HSV2sRGB(
|
|
173
|
+
int vips_HSV2sRGB(VipsImage *in, VipsImage **out, ...)
|
|
174
174
|
G_GNUC_NULL_TERMINATED;
|
|
175
175
|
VIPS_API
|
|
176
|
-
int vips_sRGB2HSV(
|
|
176
|
+
int vips_sRGB2HSV(VipsImage *in, VipsImage **out, ...)
|
|
177
177
|
G_GNUC_NULL_TERMINATED;
|
|
178
178
|
|
|
179
179
|
VIPS_API
|
|
180
|
-
int vips_LCh2CMC(
|
|
180
|
+
int vips_LCh2CMC(VipsImage *in, VipsImage **out, ...)
|
|
181
181
|
G_GNUC_NULL_TERMINATED;
|
|
182
182
|
VIPS_API
|
|
183
|
-
int vips_CMC2LCh(
|
|
183
|
+
int vips_CMC2LCh(VipsImage *in, VipsImage **out, ...)
|
|
184
184
|
G_GNUC_NULL_TERMINATED;
|
|
185
185
|
VIPS_API
|
|
186
|
-
int vips_XYZ2Yxy(
|
|
186
|
+
int vips_XYZ2Yxy(VipsImage *in, VipsImage **out, ...)
|
|
187
187
|
G_GNUC_NULL_TERMINATED;
|
|
188
188
|
VIPS_API
|
|
189
|
-
int vips_Yxy2XYZ(
|
|
189
|
+
int vips_Yxy2XYZ(VipsImage *in, VipsImage **out, ...)
|
|
190
190
|
G_GNUC_NULL_TERMINATED;
|
|
191
191
|
VIPS_API
|
|
192
|
-
int vips_LabS2Lab(
|
|
192
|
+
int vips_LabS2Lab(VipsImage *in, VipsImage **out, ...)
|
|
193
193
|
G_GNUC_NULL_TERMINATED;
|
|
194
194
|
VIPS_API
|
|
195
|
-
int vips_Lab2LabS(
|
|
195
|
+
int vips_Lab2LabS(VipsImage *in, VipsImage **out, ...)
|
|
196
196
|
G_GNUC_NULL_TERMINATED;
|
|
197
197
|
|
|
198
198
|
VIPS_API
|
|
199
|
-
int vips_CMYK2XYZ(
|
|
199
|
+
int vips_CMYK2XYZ(VipsImage *in, VipsImage **out, ...)
|
|
200
200
|
G_GNUC_NULL_TERMINATED;
|
|
201
201
|
VIPS_API
|
|
202
|
-
int vips_XYZ2CMYK(
|
|
202
|
+
int vips_XYZ2CMYK(VipsImage *in, VipsImage **out, ...)
|
|
203
203
|
G_GNUC_NULL_TERMINATED;
|
|
204
204
|
|
|
205
205
|
VIPS_API
|
|
206
|
-
int vips_profile_load(
|
|
206
|
+
int vips_profile_load(const char *name, VipsBlob **profile, ...)
|
|
207
207
|
G_GNUC_NULL_TERMINATED;
|
|
208
208
|
VIPS_API
|
|
209
|
-
int vips_icc_present(
|
|
209
|
+
int vips_icc_present(void);
|
|
210
210
|
VIPS_API
|
|
211
|
-
int vips_icc_transform(
|
|
212
|
-
const char *output_profile, ...
|
|
211
|
+
int vips_icc_transform(VipsImage *in, VipsImage **out,
|
|
212
|
+
const char *output_profile, ...)
|
|
213
213
|
G_GNUC_NULL_TERMINATED;
|
|
214
214
|
VIPS_API
|
|
215
|
-
int vips_icc_import(
|
|
215
|
+
int vips_icc_import(VipsImage *in, VipsImage **out, ...)
|
|
216
216
|
G_GNUC_NULL_TERMINATED;
|
|
217
217
|
VIPS_API
|
|
218
|
-
int vips_icc_export(
|
|
218
|
+
int vips_icc_export(VipsImage *in, VipsImage **out, ...)
|
|
219
219
|
G_GNUC_NULL_TERMINATED;
|
|
220
220
|
VIPS_API
|
|
221
|
-
int vips_icc_ac2rc(
|
|
222
|
-
const char *profile_filename
|
|
221
|
+
int vips_icc_ac2rc(VipsImage *in, VipsImage **out,
|
|
222
|
+
const char *profile_filename);
|
|
223
223
|
VIPS_API
|
|
224
|
-
gboolean vips_icc_is_compatible_profile(
|
|
225
|
-
const void *data, size_t data_length
|
|
224
|
+
gboolean vips_icc_is_compatible_profile(VipsImage *image,
|
|
225
|
+
const void *data, size_t data_length);
|
|
226
226
|
|
|
227
227
|
VIPS_API
|
|
228
|
-
int vips_dE76(
|
|
228
|
+
int vips_dE76(VipsImage *left, VipsImage *right, VipsImage **out, ...)
|
|
229
229
|
G_GNUC_NULL_TERMINATED;
|
|
230
230
|
VIPS_API
|
|
231
|
-
int vips_dE00(
|
|
231
|
+
int vips_dE00(VipsImage *left, VipsImage *right, VipsImage **out, ...)
|
|
232
232
|
G_GNUC_NULL_TERMINATED;
|
|
233
233
|
VIPS_API
|
|
234
|
-
int vips_dECMC(
|
|
234
|
+
int vips_dECMC(VipsImage *left, VipsImage *right, VipsImage **out, ...)
|
|
235
235
|
G_GNUC_NULL_TERMINATED;
|
|
236
236
|
|
|
237
237
|
VIPS_API
|
|
238
|
-
void vips_col_Lab2XYZ(
|
|
239
|
-
float *X, float *Y, float *Z
|
|
238
|
+
void vips_col_Lab2XYZ(float L, float a, float b,
|
|
239
|
+
float *X, float *Y, float *Z);
|
|
240
240
|
VIPS_API
|
|
241
|
-
void vips_col_XYZ2Lab(
|
|
242
|
-
float *L, float *a, float *b
|
|
241
|
+
void vips_col_XYZ2Lab(float X, float Y, float Z,
|
|
242
|
+
float *L, float *a, float *b);
|
|
243
243
|
VIPS_API
|
|
244
|
-
double vips_col_ab2h(
|
|
244
|
+
double vips_col_ab2h(double a, double b);
|
|
245
245
|
VIPS_API
|
|
246
|
-
void vips_col_ab2Ch(
|
|
246
|
+
void vips_col_ab2Ch(float a, float b, float *C, float *h);
|
|
247
247
|
VIPS_API
|
|
248
|
-
void vips_col_Ch2ab(
|
|
248
|
+
void vips_col_Ch2ab(float C, float h, float *a, float *b);
|
|
249
249
|
|
|
250
250
|
VIPS_API
|
|
251
|
-
float vips_col_L2Lcmc(
|
|
251
|
+
float vips_col_L2Lcmc(float L);
|
|
252
252
|
VIPS_API
|
|
253
|
-
float vips_col_C2Ccmc(
|
|
253
|
+
float vips_col_C2Ccmc(float C);
|
|
254
254
|
VIPS_API
|
|
255
|
-
float vips_col_Ch2hcmc(
|
|
255
|
+
float vips_col_Ch2hcmc(float C, float h);
|
|
256
256
|
|
|
257
257
|
VIPS_API
|
|
258
|
-
void vips_col_make_tables_CMC(
|
|
258
|
+
void vips_col_make_tables_CMC(void);
|
|
259
259
|
VIPS_API
|
|
260
|
-
float vips_col_Lcmc2L(
|
|
260
|
+
float vips_col_Lcmc2L(float Lcmc);
|
|
261
261
|
VIPS_API
|
|
262
|
-
float vips_col_Ccmc2C(
|
|
262
|
+
float vips_col_Ccmc2C(float Ccmc);
|
|
263
263
|
VIPS_API
|
|
264
|
-
float vips_col_Chcmc2h(
|
|
264
|
+
float vips_col_Chcmc2h(float C, float hcmc);
|
|
265
265
|
|
|
266
266
|
VIPS_API
|
|
267
|
-
int vips_col_sRGB2scRGB_8(
|
|
267
|
+
int vips_col_sRGB2scRGB_8(int r, int g, int b, float *R, float *G, float *B);
|
|
268
268
|
VIPS_API
|
|
269
|
-
int vips_col_sRGB2scRGB_16(
|
|
269
|
+
int vips_col_sRGB2scRGB_16(int r, int g, int b, float *R, float *G, float *B);
|
|
270
270
|
VIPS_API
|
|
271
|
-
int vips_col_sRGB2scRGB_8_noclip(
|
|
272
|
-
float *R, float *G, float *B
|
|
271
|
+
int vips_col_sRGB2scRGB_8_noclip(int r, int g, int b,
|
|
272
|
+
float *R, float *G, float *B);
|
|
273
273
|
VIPS_API
|
|
274
|
-
int vips_col_sRGB2scRGB_16_noclip(
|
|
275
|
-
float *R, float *G, float *B
|
|
274
|
+
int vips_col_sRGB2scRGB_16_noclip(int r, int g, int b,
|
|
275
|
+
float *R, float *G, float *B);
|
|
276
276
|
|
|
277
277
|
VIPS_API
|
|
278
|
-
int vips_col_scRGB2XYZ(
|
|
279
|
-
float *X, float *Y, float *Z
|
|
278
|
+
int vips_col_scRGB2XYZ(float R, float G, float B,
|
|
279
|
+
float *X, float *Y, float *Z);
|
|
280
280
|
VIPS_API
|
|
281
|
-
int vips_col_XYZ2scRGB(
|
|
282
|
-
float *R, float *G, float *B
|
|
281
|
+
int vips_col_XYZ2scRGB(float X, float Y, float Z,
|
|
282
|
+
float *R, float *G, float *B);
|
|
283
283
|
|
|
284
284
|
VIPS_API
|
|
285
|
-
int vips_col_scRGB2sRGB_8(
|
|
286
|
-
int *r, int *g, int *b, int *og
|
|
285
|
+
int vips_col_scRGB2sRGB_8(float R, float G, float B,
|
|
286
|
+
int *r, int *g, int *b, int *og);
|
|
287
287
|
VIPS_API
|
|
288
|
-
int vips_col_scRGB2sRGB_16(
|
|
289
|
-
int *r, int *g, int *b, int *og
|
|
288
|
+
int vips_col_scRGB2sRGB_16(float R, float G, float B,
|
|
289
|
+
int *r, int *g, int *b, int *og);
|
|
290
290
|
VIPS_API
|
|
291
|
-
int vips_col_scRGB2BW_16(
|
|
291
|
+
int vips_col_scRGB2BW_16(float R, float G, float B, int *g, int *og);
|
|
292
292
|
VIPS_API
|
|
293
|
-
int vips_col_scRGB2BW_8(
|
|
293
|
+
int vips_col_scRGB2BW_8(float R, float G, float B, int *g, int *og);
|
|
294
294
|
|
|
295
295
|
VIPS_API
|
|
296
|
-
float vips_pythagoras(
|
|
297
|
-
float L2, float a2, float b2
|
|
296
|
+
float vips_pythagoras(float L1, float a1, float b1,
|
|
297
|
+
float L2, float a2, float b2);
|
|
298
298
|
VIPS_API
|
|
299
|
-
float vips_col_dE00(
|
|
300
|
-
float L1, float a1, float b1, float L2, float a2, float b2
|
|
299
|
+
float vips_col_dE00(
|
|
300
|
+
float L1, float a1, float b1, float L2, float a2, float b2);
|
|
301
301
|
|
|
302
302
|
#ifdef __cplusplus
|
|
303
303
|
}
|