@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/header.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
|
|
|
@@ -41,7 +41,7 @@ extern "C" {
|
|
|
41
41
|
/**
|
|
42
42
|
* VIPS_META_EXIF_NAME:
|
|
43
43
|
*
|
|
44
|
-
* The name that
|
|
44
|
+
* The name that read and write operations use for the image's EXIF data.
|
|
45
45
|
*/
|
|
46
46
|
#define VIPS_META_EXIF_NAME "exif-data"
|
|
47
47
|
|
|
@@ -80,7 +80,7 @@ extern "C" {
|
|
|
80
80
|
/**
|
|
81
81
|
* VIPS_META_IMAGEDESCRIPTION:
|
|
82
82
|
*
|
|
83
|
-
* The IMAGEDESCRIPTION tag. Often has useful metadata.
|
|
83
|
+
* The IMAGEDESCRIPTION tag. Often has useful metadata.
|
|
84
84
|
*/
|
|
85
85
|
#define VIPS_META_IMAGEDESCRIPTION "image-description"
|
|
86
86
|
|
|
@@ -92,6 +92,13 @@ extern "C" {
|
|
|
92
92
|
*/
|
|
93
93
|
#define VIPS_META_RESOLUTION_UNIT "resolution-unit"
|
|
94
94
|
|
|
95
|
+
/**
|
|
96
|
+
* VIPS_META_BITS_PER_SAMPLE:
|
|
97
|
+
*
|
|
98
|
+
* The bits per sample for each channel.
|
|
99
|
+
*/
|
|
100
|
+
#define VIPS_META_BITS_PER_SAMPLE "bits-per-sample"
|
|
101
|
+
|
|
95
102
|
/**
|
|
96
103
|
* VIPS_META_LOADER:
|
|
97
104
|
*
|
|
@@ -105,15 +112,15 @@ extern "C" {
|
|
|
105
112
|
*
|
|
106
113
|
* Images loaded via vips_sequential() have this int field defined. Some
|
|
107
114
|
* operations (eg. vips_shrinkv()) add extra caches if they see it on their
|
|
108
|
-
* input.
|
|
115
|
+
* input.
|
|
109
116
|
*/
|
|
110
117
|
#define VIPS_META_SEQUENTIAL "vips-sequential"
|
|
111
118
|
|
|
112
119
|
/**
|
|
113
120
|
* VIPS_META_ORIENTATION:
|
|
114
121
|
*
|
|
115
|
-
* The orientation tag for this image. An int from 1 - 8 using the standard
|
|
116
|
-
* exif/tiff meanings.
|
|
122
|
+
* The orientation tag for this image. An int from 1 - 8 using the standard
|
|
123
|
+
* exif/tiff meanings.
|
|
117
124
|
*
|
|
118
125
|
* * 1 - The 0th row represents the visual top of the image, and the 0th column
|
|
119
126
|
* represents the visual left-hand side.
|
|
@@ -130,7 +137,7 @@ extern "C" {
|
|
|
130
137
|
* * 7 - The 0th row represents the visual right-hand side of the image, and the
|
|
131
138
|
* 0th column represents the visual bottom.
|
|
132
139
|
* * 8 - The 0th row represents the visual left-hand side of the image, and the
|
|
133
|
-
* 0th column represents the visual bottom.
|
|
140
|
+
* 0th column represents the visual bottom.
|
|
134
141
|
*/
|
|
135
142
|
#define VIPS_META_ORIENTATION "orientation"
|
|
136
143
|
|
|
@@ -139,14 +146,14 @@ extern "C" {
|
|
|
139
146
|
*
|
|
140
147
|
* If set, the height of each page when this image was loaded. If you save an
|
|
141
148
|
* image with "page-height" set to a format that supports multiple pages, such
|
|
142
|
-
* as tiff, the image will be saved as a series of pages.
|
|
149
|
+
* as tiff, the image will be saved as a series of pages.
|
|
143
150
|
*/
|
|
144
151
|
#define VIPS_META_PAGE_HEIGHT "page-height"
|
|
145
152
|
|
|
146
153
|
/**
|
|
147
154
|
* VIPS_META_N_PAGES:
|
|
148
155
|
*
|
|
149
|
-
* If set, the number of pages in the original file.
|
|
156
|
+
* If set, the number of pages in the original file.
|
|
150
157
|
*/
|
|
151
158
|
#define VIPS_META_N_PAGES "n-pages"
|
|
152
159
|
|
|
@@ -165,145 +172,148 @@ extern "C" {
|
|
|
165
172
|
#define VIPS_META_CONCURRENCY "concurrency"
|
|
166
173
|
|
|
167
174
|
VIPS_API
|
|
168
|
-
guint64 vips_format_sizeof(
|
|
175
|
+
guint64 vips_format_sizeof(VipsBandFormat format);
|
|
176
|
+
VIPS_API
|
|
177
|
+
guint64 vips_format_sizeof_unsafe(VipsBandFormat format);
|
|
178
|
+
|
|
169
179
|
VIPS_API
|
|
170
|
-
|
|
180
|
+
double vips_interpretation_max_alpha(VipsInterpretation interpretation);
|
|
171
181
|
|
|
172
182
|
VIPS_API
|
|
173
|
-
int vips_image_get_width(
|
|
183
|
+
int vips_image_get_width(const VipsImage *image);
|
|
174
184
|
VIPS_API
|
|
175
|
-
int vips_image_get_height(
|
|
185
|
+
int vips_image_get_height(const VipsImage *image);
|
|
176
186
|
VIPS_API
|
|
177
|
-
int vips_image_get_bands(
|
|
187
|
+
int vips_image_get_bands(const VipsImage *image);
|
|
178
188
|
VIPS_API
|
|
179
|
-
VipsBandFormat vips_image_get_format(
|
|
189
|
+
VipsBandFormat vips_image_get_format(const VipsImage *image);
|
|
180
190
|
VIPS_API
|
|
181
|
-
double vips_image_get_format_max(
|
|
191
|
+
double vips_image_get_format_max(VipsBandFormat format);
|
|
182
192
|
VIPS_API
|
|
183
|
-
VipsBandFormat vips_image_guess_format(
|
|
193
|
+
VipsBandFormat vips_image_guess_format(const VipsImage *image);
|
|
184
194
|
VIPS_API
|
|
185
|
-
VipsCoding vips_image_get_coding(
|
|
195
|
+
VipsCoding vips_image_get_coding(const VipsImage *image);
|
|
186
196
|
VIPS_API
|
|
187
|
-
VipsInterpretation vips_image_get_interpretation(
|
|
197
|
+
VipsInterpretation vips_image_get_interpretation(const VipsImage *image);
|
|
188
198
|
VIPS_API
|
|
189
|
-
VipsInterpretation vips_image_guess_interpretation(
|
|
199
|
+
VipsInterpretation vips_image_guess_interpretation(const VipsImage *image);
|
|
190
200
|
VIPS_API
|
|
191
|
-
double vips_image_get_xres(
|
|
201
|
+
double vips_image_get_xres(const VipsImage *image);
|
|
192
202
|
VIPS_API
|
|
193
|
-
double vips_image_get_yres(
|
|
203
|
+
double vips_image_get_yres(const VipsImage *image);
|
|
194
204
|
VIPS_API
|
|
195
|
-
int vips_image_get_xoffset(
|
|
205
|
+
int vips_image_get_xoffset(const VipsImage *image);
|
|
196
206
|
VIPS_API
|
|
197
|
-
int vips_image_get_yoffset(
|
|
207
|
+
int vips_image_get_yoffset(const VipsImage *image);
|
|
198
208
|
VIPS_API
|
|
199
|
-
const char *vips_image_get_filename(
|
|
209
|
+
const char *vips_image_get_filename(const VipsImage *image);
|
|
200
210
|
VIPS_API
|
|
201
|
-
const char *vips_image_get_mode(
|
|
211
|
+
const char *vips_image_get_mode(const VipsImage *image);
|
|
202
212
|
VIPS_API
|
|
203
|
-
double vips_image_get_scale(
|
|
213
|
+
double vips_image_get_scale(const VipsImage *image);
|
|
204
214
|
VIPS_API
|
|
205
|
-
double vips_image_get_offset(
|
|
215
|
+
double vips_image_get_offset(const VipsImage *image);
|
|
206
216
|
VIPS_API
|
|
207
|
-
int vips_image_get_page_height(
|
|
217
|
+
int vips_image_get_page_height(VipsImage *image);
|
|
208
218
|
VIPS_API
|
|
209
|
-
int vips_image_get_n_pages(
|
|
219
|
+
int vips_image_get_n_pages(VipsImage *image);
|
|
210
220
|
VIPS_API
|
|
211
|
-
int vips_image_get_n_subifds(
|
|
221
|
+
int vips_image_get_n_subifds(VipsImage *image);
|
|
212
222
|
VIPS_API
|
|
213
|
-
int vips_image_get_orientation(
|
|
223
|
+
int vips_image_get_orientation(VipsImage *image);
|
|
214
224
|
VIPS_API
|
|
215
|
-
gboolean vips_image_get_orientation_swap(
|
|
225
|
+
gboolean vips_image_get_orientation_swap(VipsImage *image);
|
|
216
226
|
VIPS_API
|
|
217
|
-
int vips_image_get_concurrency(
|
|
227
|
+
int vips_image_get_concurrency(VipsImage *image, int default_concurrency);
|
|
218
228
|
VIPS_API
|
|
219
|
-
const void *vips_image_get_data(
|
|
229
|
+
const void *vips_image_get_data(VipsImage *image);
|
|
220
230
|
|
|
221
231
|
VIPS_API
|
|
222
|
-
void vips_image_init_fields(
|
|
223
|
-
int xsize, int ysize, int bands,
|
|
224
|
-
VipsBandFormat format, VipsCoding coding,
|
|
225
|
-
VipsInterpretation interpretation,
|
|
226
|
-
double xres, double yres
|
|
232
|
+
void vips_image_init_fields(VipsImage *image,
|
|
233
|
+
int xsize, int ysize, int bands,
|
|
234
|
+
VipsBandFormat format, VipsCoding coding,
|
|
235
|
+
VipsInterpretation interpretation,
|
|
236
|
+
double xres, double yres);
|
|
227
237
|
|
|
228
238
|
VIPS_API
|
|
229
|
-
void vips_image_set(
|
|
239
|
+
void vips_image_set(VipsImage *image, const char *name, GValue *value);
|
|
230
240
|
VIPS_API
|
|
231
|
-
int vips_image_get(
|
|
232
|
-
const char *name, GValue *value_copy
|
|
241
|
+
int vips_image_get(const VipsImage *image,
|
|
242
|
+
const char *name, GValue *value_copy);
|
|
233
243
|
VIPS_API
|
|
234
|
-
int vips_image_get_as_string(
|
|
235
|
-
const char *name, char **out
|
|
244
|
+
int vips_image_get_as_string(const VipsImage *image,
|
|
245
|
+
const char *name, char **out);
|
|
236
246
|
VIPS_API
|
|
237
|
-
GType vips_image_get_typeof(
|
|
247
|
+
GType vips_image_get_typeof(const VipsImage *image, const char *name);
|
|
238
248
|
VIPS_API
|
|
239
|
-
gboolean vips_image_remove(
|
|
240
|
-
typedef void *(*VipsImageMapFn)(
|
|
241
|
-
const char *name, GValue *value, void *a
|
|
249
|
+
gboolean vips_image_remove(VipsImage *image, const char *name);
|
|
250
|
+
typedef void *(*VipsImageMapFn)(VipsImage *image,
|
|
251
|
+
const char *name, GValue *value, void *a);
|
|
242
252
|
VIPS_API
|
|
243
|
-
void *vips_image_map(
|
|
253
|
+
void *vips_image_map(VipsImage *image, VipsImageMapFn fn, void *a);
|
|
244
254
|
VIPS_API
|
|
245
|
-
gchar **vips_image_get_fields(
|
|
255
|
+
gchar **vips_image_get_fields(VipsImage *image);
|
|
246
256
|
|
|
247
257
|
VIPS_API
|
|
248
|
-
void vips_image_set_area(
|
|
249
|
-
const char *name, VipsCallbackFn free_fn, void *data
|
|
258
|
+
void vips_image_set_area(VipsImage *image,
|
|
259
|
+
const char *name, VipsCallbackFn free_fn, void *data);
|
|
250
260
|
VIPS_API
|
|
251
|
-
int vips_image_get_area(
|
|
252
|
-
const char *name, const void **data
|
|
261
|
+
int vips_image_get_area(const VipsImage *image,
|
|
262
|
+
const char *name, const void **data);
|
|
253
263
|
VIPS_API
|
|
254
|
-
void vips_image_set_blob(
|
|
255
|
-
const char *name,
|
|
256
|
-
VipsCallbackFn free_fn, const void *data, size_t length
|
|
264
|
+
void vips_image_set_blob(VipsImage *image,
|
|
265
|
+
const char *name,
|
|
266
|
+
VipsCallbackFn free_fn, const void *data, size_t length);
|
|
257
267
|
VIPS_API
|
|
258
|
-
void vips_image_set_blob_copy(
|
|
259
|
-
const char *name, const void *data, size_t length
|
|
268
|
+
void vips_image_set_blob_copy(VipsImage *image,
|
|
269
|
+
const char *name, const void *data, size_t length);
|
|
260
270
|
VIPS_API
|
|
261
|
-
int vips_image_get_blob(
|
|
262
|
-
const char *name, const void **data, size_t *length
|
|
271
|
+
int vips_image_get_blob(const VipsImage *image,
|
|
272
|
+
const char *name, const void **data, size_t *length);
|
|
263
273
|
|
|
264
274
|
VIPS_API
|
|
265
|
-
int vips_image_get_int(
|
|
275
|
+
int vips_image_get_int(const VipsImage *image, const char *name, int *out);
|
|
266
276
|
VIPS_API
|
|
267
|
-
void vips_image_set_int(
|
|
277
|
+
void vips_image_set_int(VipsImage *image, const char *name, int i);
|
|
268
278
|
VIPS_API
|
|
269
|
-
int vips_image_get_double(
|
|
270
|
-
const char *name, double *out
|
|
279
|
+
int vips_image_get_double(const VipsImage *image,
|
|
280
|
+
const char *name, double *out);
|
|
271
281
|
VIPS_API
|
|
272
|
-
void vips_image_set_double(
|
|
282
|
+
void vips_image_set_double(VipsImage *image, const char *name, double d);
|
|
273
283
|
VIPS_API
|
|
274
|
-
int vips_image_get_string(
|
|
275
|
-
const char *name, const char **out
|
|
284
|
+
int vips_image_get_string(const VipsImage *image,
|
|
285
|
+
const char *name, const char **out);
|
|
276
286
|
VIPS_API
|
|
277
|
-
void vips_image_set_string(
|
|
278
|
-
const char *name, const char *str
|
|
287
|
+
void vips_image_set_string(VipsImage *image,
|
|
288
|
+
const char *name, const char *str);
|
|
279
289
|
VIPS_API
|
|
280
|
-
void vips_image_print_field(
|
|
290
|
+
void vips_image_print_field(const VipsImage *image, const char *name);
|
|
281
291
|
VIPS_API
|
|
282
|
-
int vips_image_get_image(
|
|
283
|
-
const char *name, VipsImage **out
|
|
292
|
+
int vips_image_get_image(const VipsImage *image,
|
|
293
|
+
const char *name, VipsImage **out);
|
|
284
294
|
VIPS_API
|
|
285
|
-
void vips_image_set_image(
|
|
295
|
+
void vips_image_set_image(VipsImage *image, const char *name, VipsImage *im);
|
|
286
296
|
VIPS_API
|
|
287
|
-
void vips_image_set_array_int(
|
|
288
|
-
const int *array, int n
|
|
297
|
+
void vips_image_set_array_int(VipsImage *image, const char *name,
|
|
298
|
+
const int *array, int n);
|
|
289
299
|
VIPS_API
|
|
290
|
-
int vips_image_get_array_int(
|
|
291
|
-
int **out, int *n
|
|
300
|
+
int vips_image_get_array_int(VipsImage *image, const char *name,
|
|
301
|
+
int **out, int *n);
|
|
292
302
|
VIPS_API
|
|
293
|
-
int vips_image_get_array_double(
|
|
294
|
-
double **out, int *n
|
|
303
|
+
int vips_image_get_array_double(VipsImage *image, const char *name,
|
|
304
|
+
double **out, int *n);
|
|
295
305
|
VIPS_API
|
|
296
|
-
void vips_image_set_array_double(
|
|
297
|
-
const double *array, int n
|
|
306
|
+
void vips_image_set_array_double(VipsImage *image, const char *name,
|
|
307
|
+
const double *array, int n);
|
|
298
308
|
|
|
299
309
|
VIPS_API
|
|
300
|
-
int vips_image_history_printf(
|
|
301
|
-
G_GNUC_PRINTF(
|
|
310
|
+
int vips_image_history_printf(VipsImage *image, const char *format, ...)
|
|
311
|
+
G_GNUC_PRINTF(2, 3);
|
|
302
312
|
VIPS_API
|
|
303
|
-
int vips_image_history_args(
|
|
304
|
-
const char *name, int argc, char *argv[]
|
|
313
|
+
int vips_image_history_args(VipsImage *image,
|
|
314
|
+
const char *name, int argc, char *argv[]);
|
|
305
315
|
VIPS_API
|
|
306
|
-
const char *vips_image_get_history(
|
|
316
|
+
const char *vips_image_get_history(VipsImage *image);
|
|
307
317
|
|
|
308
318
|
#ifdef __cplusplus
|
|
309
319
|
}
|
package/include/vips/histogram.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
|
|
|
@@ -39,43 +39,43 @@ extern "C" {
|
|
|
39
39
|
#endif /*__cplusplus*/
|
|
40
40
|
|
|
41
41
|
VIPS_API
|
|
42
|
-
int vips_maplut(
|
|
42
|
+
int vips_maplut(VipsImage *in, VipsImage **out, VipsImage *lut, ...)
|
|
43
43
|
G_GNUC_NULL_TERMINATED;
|
|
44
44
|
VIPS_API
|
|
45
|
-
int vips_percent(
|
|
45
|
+
int vips_percent(VipsImage *in, double percent, int *threshold, ...)
|
|
46
46
|
G_GNUC_NULL_TERMINATED;
|
|
47
47
|
VIPS_API
|
|
48
|
-
int vips_stdif(
|
|
48
|
+
int vips_stdif(VipsImage *in, VipsImage **out, int width, int height, ...)
|
|
49
49
|
G_GNUC_NULL_TERMINATED;
|
|
50
50
|
VIPS_API
|
|
51
|
-
int vips_hist_cum(
|
|
51
|
+
int vips_hist_cum(VipsImage *in, VipsImage **out, ...)
|
|
52
52
|
G_GNUC_NULL_TERMINATED;
|
|
53
53
|
VIPS_API
|
|
54
|
-
int vips_hist_norm(
|
|
54
|
+
int vips_hist_norm(VipsImage *in, VipsImage **out, ...)
|
|
55
55
|
G_GNUC_NULL_TERMINATED;
|
|
56
56
|
VIPS_API
|
|
57
|
-
int vips_hist_equal(
|
|
57
|
+
int vips_hist_equal(VipsImage *in, VipsImage **out, ...)
|
|
58
58
|
G_GNUC_NULL_TERMINATED;
|
|
59
59
|
VIPS_API
|
|
60
|
-
int vips_hist_plot(
|
|
60
|
+
int vips_hist_plot(VipsImage *in, VipsImage **out, ...)
|
|
61
61
|
G_GNUC_NULL_TERMINATED;
|
|
62
62
|
VIPS_API
|
|
63
|
-
int vips_hist_match(
|
|
63
|
+
int vips_hist_match(VipsImage *in, VipsImage *ref, VipsImage **out, ...)
|
|
64
64
|
G_GNUC_NULL_TERMINATED;
|
|
65
65
|
VIPS_API
|
|
66
|
-
int vips_hist_local(
|
|
67
|
-
int width, int height, ...
|
|
66
|
+
int vips_hist_local(VipsImage *in, VipsImage **out,
|
|
67
|
+
int width, int height, ...)
|
|
68
68
|
G_GNUC_NULL_TERMINATED;
|
|
69
69
|
VIPS_API
|
|
70
|
-
int vips_hist_ismonotonic(
|
|
70
|
+
int vips_hist_ismonotonic(VipsImage *in, gboolean *out, ...)
|
|
71
71
|
G_GNUC_NULL_TERMINATED;
|
|
72
72
|
VIPS_API
|
|
73
|
-
int vips_hist_entropy(
|
|
73
|
+
int vips_hist_entropy(VipsImage *in, double *out, ...)
|
|
74
74
|
G_GNUC_NULL_TERMINATED;
|
|
75
75
|
|
|
76
76
|
VIPS_API
|
|
77
|
-
int vips_case(
|
|
78
|
-
...
|
|
77
|
+
int vips_case(VipsImage *index, VipsImage **cases, VipsImage **out, int n,
|
|
78
|
+
...)
|
|
79
79
|
G_GNUC_NULL_TERMINATED;
|
|
80
80
|
|
|
81
81
|
#ifdef __cplusplus
|