@img/sharp-libvips-dev 0.0.1 → 0.0.2
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 +2 -2
- 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/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 +443 -377
- 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/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/package.json +1 -1
- package/versions.json +7 -7
|
@@ -6,28 +6,28 @@
|
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
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.
|
|
9
|
+
This file is part of VIPS.
|
|
15
10
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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.
|
|
20
15
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
+
|
|
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
|
|
|
@@ -135,219 +135,219 @@ typedef enum {
|
|
|
135
135
|
} VipsBlendMode;
|
|
136
136
|
|
|
137
137
|
VIPS_API
|
|
138
|
-
int vips_copy(
|
|
138
|
+
int vips_copy(VipsImage *in, VipsImage **out, ...)
|
|
139
139
|
G_GNUC_NULL_TERMINATED;
|
|
140
140
|
VIPS_API
|
|
141
|
-
int vips_tilecache(
|
|
141
|
+
int vips_tilecache(VipsImage *in, VipsImage **out, ...)
|
|
142
142
|
G_GNUC_NULL_TERMINATED;
|
|
143
143
|
VIPS_API
|
|
144
|
-
int vips_linecache(
|
|
144
|
+
int vips_linecache(VipsImage *in, VipsImage **out, ...)
|
|
145
145
|
G_GNUC_NULL_TERMINATED;
|
|
146
146
|
VIPS_API
|
|
147
|
-
int vips_sequential(
|
|
147
|
+
int vips_sequential(VipsImage *in, VipsImage **out, ...)
|
|
148
148
|
G_GNUC_NULL_TERMINATED;
|
|
149
149
|
VIPS_API
|
|
150
|
-
int vips_cache(
|
|
150
|
+
int vips_cache(VipsImage *in, VipsImage **out, ...)
|
|
151
151
|
G_GNUC_NULL_TERMINATED;
|
|
152
152
|
VIPS_API
|
|
153
|
-
int vips_copy_file(
|
|
153
|
+
int vips_copy_file(VipsImage *in, VipsImage **out, ...)
|
|
154
154
|
G_GNUC_NULL_TERMINATED;
|
|
155
155
|
|
|
156
156
|
VIPS_API
|
|
157
|
-
int vips_embed(
|
|
158
|
-
int x, int y, int width, int height, ...
|
|
157
|
+
int vips_embed(VipsImage *in, VipsImage **out,
|
|
158
|
+
int x, int y, int width, int height, ...)
|
|
159
159
|
G_GNUC_NULL_TERMINATED;
|
|
160
160
|
VIPS_API
|
|
161
|
-
int vips_gravity(
|
|
162
|
-
VipsCompassDirection direction, int width, int height, ...
|
|
161
|
+
int vips_gravity(VipsImage *in, VipsImage **out,
|
|
162
|
+
VipsCompassDirection direction, int width, int height, ...)
|
|
163
163
|
G_GNUC_NULL_TERMINATED;
|
|
164
164
|
VIPS_API
|
|
165
|
-
int vips_flip(
|
|
165
|
+
int vips_flip(VipsImage *in, VipsImage **out, VipsDirection direction, ...)
|
|
166
166
|
G_GNUC_NULL_TERMINATED;
|
|
167
167
|
VIPS_API
|
|
168
|
-
int vips_insert(
|
|
169
|
-
int x, int y, ...
|
|
168
|
+
int vips_insert(VipsImage *main, VipsImage *sub, VipsImage **out,
|
|
169
|
+
int x, int y, ...)
|
|
170
170
|
G_GNUC_NULL_TERMINATED;
|
|
171
171
|
VIPS_API
|
|
172
|
-
int vips_join(
|
|
173
|
-
VipsDirection direction, ...
|
|
172
|
+
int vips_join(VipsImage *in1, VipsImage *in2, VipsImage **out,
|
|
173
|
+
VipsDirection direction, ...)
|
|
174
174
|
G_GNUC_NULL_TERMINATED;
|
|
175
175
|
VIPS_API
|
|
176
|
-
int vips_arrayjoin(
|
|
176
|
+
int vips_arrayjoin(VipsImage **in, VipsImage **out, int n, ...)
|
|
177
177
|
G_GNUC_NULL_TERMINATED;
|
|
178
178
|
VIPS_API
|
|
179
|
-
int vips_extract_area(
|
|
180
|
-
int left, int top, int width, int height, ...
|
|
179
|
+
int vips_extract_area(VipsImage *in, VipsImage **out,
|
|
180
|
+
int left, int top, int width, int height, ...)
|
|
181
181
|
G_GNUC_NULL_TERMINATED;
|
|
182
182
|
VIPS_API
|
|
183
|
-
int vips_crop(
|
|
184
|
-
int left, int top, int width, int height, ...
|
|
183
|
+
int vips_crop(VipsImage *in, VipsImage **out,
|
|
184
|
+
int left, int top, int width, int height, ...)
|
|
185
185
|
G_GNUC_NULL_TERMINATED;
|
|
186
186
|
VIPS_API
|
|
187
|
-
int vips_smartcrop(
|
|
187
|
+
int vips_smartcrop(VipsImage *in, VipsImage **out, int width, int height, ...)
|
|
188
188
|
G_GNUC_NULL_TERMINATED;
|
|
189
189
|
VIPS_API
|
|
190
|
-
int vips_extract_band(
|
|
190
|
+
int vips_extract_band(VipsImage *in, VipsImage **out, int band, ...)
|
|
191
191
|
G_GNUC_NULL_TERMINATED;
|
|
192
192
|
VIPS_API
|
|
193
|
-
int vips_replicate(
|
|
193
|
+
int vips_replicate(VipsImage *in, VipsImage **out, int across, int down, ...)
|
|
194
194
|
G_GNUC_NULL_TERMINATED;
|
|
195
195
|
VIPS_API
|
|
196
|
-
int vips_grid(
|
|
197
|
-
int tile_height, int across, int down, ...
|
|
196
|
+
int vips_grid(VipsImage *in, VipsImage **out,
|
|
197
|
+
int tile_height, int across, int down, ...)
|
|
198
198
|
G_GNUC_NULL_TERMINATED;
|
|
199
199
|
VIPS_API
|
|
200
|
-
int vips_transpose3d(
|
|
200
|
+
int vips_transpose3d(VipsImage *in, VipsImage **out, ...)
|
|
201
201
|
G_GNUC_NULL_TERMINATED;
|
|
202
202
|
VIPS_API
|
|
203
|
-
int vips_wrap(
|
|
203
|
+
int vips_wrap(VipsImage *in, VipsImage **out, ...)
|
|
204
204
|
G_GNUC_NULL_TERMINATED;
|
|
205
205
|
VIPS_API
|
|
206
|
-
int vips_rot(
|
|
206
|
+
int vips_rot(VipsImage *in, VipsImage **out, VipsAngle angle, ...)
|
|
207
207
|
G_GNUC_NULL_TERMINATED;
|
|
208
208
|
VIPS_API
|
|
209
|
-
int vips_rot90(
|
|
209
|
+
int vips_rot90(VipsImage *in, VipsImage **out, ...)
|
|
210
210
|
G_GNUC_NULL_TERMINATED;
|
|
211
211
|
VIPS_API
|
|
212
|
-
int vips_rot180(
|
|
212
|
+
int vips_rot180(VipsImage *in, VipsImage **out, ...)
|
|
213
213
|
G_GNUC_NULL_TERMINATED;
|
|
214
214
|
VIPS_API
|
|
215
|
-
int vips_rot270(
|
|
215
|
+
int vips_rot270(VipsImage *in, VipsImage **out, ...)
|
|
216
216
|
G_GNUC_NULL_TERMINATED;
|
|
217
217
|
VIPS_API
|
|
218
|
-
int vips_rot45(
|
|
218
|
+
int vips_rot45(VipsImage *in, VipsImage **out, ...)
|
|
219
219
|
G_GNUC_NULL_TERMINATED;
|
|
220
220
|
VIPS_API
|
|
221
|
-
void vips_autorot_remove_angle(
|
|
221
|
+
void vips_autorot_remove_angle(VipsImage *image);
|
|
222
222
|
VIPS_API
|
|
223
|
-
int vips_autorot(
|
|
223
|
+
int vips_autorot(VipsImage *in, VipsImage **out, ...)
|
|
224
224
|
G_GNUC_NULL_TERMINATED;
|
|
225
225
|
VIPS_API
|
|
226
|
-
int vips_zoom(
|
|
226
|
+
int vips_zoom(VipsImage *in, VipsImage **out, int xfac, int yfac, ...)
|
|
227
227
|
G_GNUC_NULL_TERMINATED;
|
|
228
228
|
VIPS_API
|
|
229
|
-
int vips_subsample(
|
|
229
|
+
int vips_subsample(VipsImage *in, VipsImage **out, int xfac, int yfac, ...)
|
|
230
230
|
G_GNUC_NULL_TERMINATED;
|
|
231
231
|
|
|
232
232
|
VIPS_API
|
|
233
|
-
int vips_cast(
|
|
233
|
+
int vips_cast(VipsImage *in, VipsImage **out, VipsBandFormat format, ...)
|
|
234
234
|
G_GNUC_NULL_TERMINATED;
|
|
235
235
|
VIPS_API
|
|
236
|
-
int vips_cast_uchar(
|
|
236
|
+
int vips_cast_uchar(VipsImage *in, VipsImage **out, ...)
|
|
237
237
|
G_GNUC_NULL_TERMINATED;
|
|
238
238
|
VIPS_API
|
|
239
|
-
int vips_cast_char(
|
|
239
|
+
int vips_cast_char(VipsImage *in, VipsImage **out, ...)
|
|
240
240
|
G_GNUC_NULL_TERMINATED;
|
|
241
241
|
VIPS_API
|
|
242
|
-
int vips_cast_ushort(
|
|
242
|
+
int vips_cast_ushort(VipsImage *in, VipsImage **out, ...)
|
|
243
243
|
G_GNUC_NULL_TERMINATED;
|
|
244
244
|
VIPS_API
|
|
245
|
-
int vips_cast_short(
|
|
245
|
+
int vips_cast_short(VipsImage *in, VipsImage **out, ...)
|
|
246
246
|
G_GNUC_NULL_TERMINATED;
|
|
247
247
|
VIPS_API
|
|
248
|
-
int vips_cast_uint(
|
|
248
|
+
int vips_cast_uint(VipsImage *in, VipsImage **out, ...)
|
|
249
249
|
G_GNUC_NULL_TERMINATED;
|
|
250
250
|
VIPS_API
|
|
251
|
-
int vips_cast_int(
|
|
251
|
+
int vips_cast_int(VipsImage *in, VipsImage **out, ...)
|
|
252
252
|
G_GNUC_NULL_TERMINATED;
|
|
253
253
|
VIPS_API
|
|
254
|
-
int vips_cast_float(
|
|
254
|
+
int vips_cast_float(VipsImage *in, VipsImage **out, ...)
|
|
255
255
|
G_GNUC_NULL_TERMINATED;
|
|
256
256
|
VIPS_API
|
|
257
|
-
int vips_cast_double(
|
|
257
|
+
int vips_cast_double(VipsImage *in, VipsImage **out, ...)
|
|
258
258
|
G_GNUC_NULL_TERMINATED;
|
|
259
259
|
VIPS_API
|
|
260
|
-
int vips_cast_complex(
|
|
260
|
+
int vips_cast_complex(VipsImage *in, VipsImage **out, ...)
|
|
261
261
|
G_GNUC_NULL_TERMINATED;
|
|
262
262
|
VIPS_API
|
|
263
|
-
int vips_cast_dpcomplex(
|
|
263
|
+
int vips_cast_dpcomplex(VipsImage *in, VipsImage **out, ...)
|
|
264
264
|
G_GNUC_NULL_TERMINATED;
|
|
265
265
|
VIPS_API
|
|
266
|
-
int vips_scale(
|
|
266
|
+
int vips_scale(VipsImage *in, VipsImage **out, ...)
|
|
267
267
|
G_GNUC_NULL_TERMINATED;
|
|
268
268
|
VIPS_API
|
|
269
|
-
int vips_msb(
|
|
269
|
+
int vips_msb(VipsImage *in, VipsImage **out, ...)
|
|
270
270
|
G_GNUC_NULL_TERMINATED;
|
|
271
271
|
VIPS_API
|
|
272
|
-
int vips_byteswap(
|
|
272
|
+
int vips_byteswap(VipsImage *in, VipsImage **out, ...)
|
|
273
273
|
G_GNUC_NULL_TERMINATED;
|
|
274
274
|
|
|
275
275
|
VIPS_API
|
|
276
|
-
int vips_bandjoin(
|
|
276
|
+
int vips_bandjoin(VipsImage **in, VipsImage **out, int n, ...)
|
|
277
277
|
G_GNUC_NULL_TERMINATED;
|
|
278
278
|
VIPS_API
|
|
279
|
-
int vips_bandjoin2(
|
|
279
|
+
int vips_bandjoin2(VipsImage *in1, VipsImage *in2, VipsImage **out, ...)
|
|
280
280
|
G_GNUC_NULL_TERMINATED;
|
|
281
281
|
VIPS_API
|
|
282
|
-
int vips_bandjoin_const(
|
|
282
|
+
int vips_bandjoin_const(VipsImage *in, VipsImage **out, double *c, int n, ...)
|
|
283
283
|
G_GNUC_NULL_TERMINATED;
|
|
284
284
|
VIPS_API
|
|
285
|
-
int vips_bandjoin_const1(
|
|
285
|
+
int vips_bandjoin_const1(VipsImage *in, VipsImage **out, double c, ...)
|
|
286
286
|
G_GNUC_NULL_TERMINATED;
|
|
287
287
|
VIPS_API
|
|
288
|
-
int vips_bandrank(
|
|
288
|
+
int vips_bandrank(VipsImage **in, VipsImage **out, int n, ...)
|
|
289
289
|
G_GNUC_NULL_TERMINATED;
|
|
290
290
|
VIPS_API
|
|
291
|
-
int vips_bandfold(
|
|
291
|
+
int vips_bandfold(VipsImage *in, VipsImage **out, ...)
|
|
292
292
|
G_GNUC_NULL_TERMINATED;
|
|
293
293
|
VIPS_API
|
|
294
|
-
int vips_bandunfold(
|
|
294
|
+
int vips_bandunfold(VipsImage *in, VipsImage **out, ...)
|
|
295
295
|
G_GNUC_NULL_TERMINATED;
|
|
296
296
|
|
|
297
297
|
VIPS_API
|
|
298
|
-
int vips_bandbool(
|
|
299
|
-
VipsOperationBoolean boolean, ...
|
|
298
|
+
int vips_bandbool(VipsImage *in, VipsImage **out,
|
|
299
|
+
VipsOperationBoolean boolean, ...)
|
|
300
300
|
G_GNUC_NULL_TERMINATED;
|
|
301
301
|
VIPS_API
|
|
302
|
-
int vips_bandand(
|
|
302
|
+
int vips_bandand(VipsImage *in, VipsImage **out, ...)
|
|
303
303
|
G_GNUC_NULL_TERMINATED;
|
|
304
304
|
VIPS_API
|
|
305
|
-
int vips_bandor(
|
|
305
|
+
int vips_bandor(VipsImage *in, VipsImage **out, ...)
|
|
306
306
|
G_GNUC_NULL_TERMINATED;
|
|
307
307
|
VIPS_API
|
|
308
|
-
int vips_bandeor(
|
|
308
|
+
int vips_bandeor(VipsImage *in, VipsImage **out, ...)
|
|
309
309
|
G_GNUC_NULL_TERMINATED;
|
|
310
310
|
VIPS_API
|
|
311
|
-
int vips_bandmean(
|
|
311
|
+
int vips_bandmean(VipsImage *in, VipsImage **out, ...)
|
|
312
312
|
G_GNUC_NULL_TERMINATED;
|
|
313
313
|
|
|
314
314
|
VIPS_API
|
|
315
|
-
int vips_recomb(
|
|
315
|
+
int vips_recomb(VipsImage *in, VipsImage **out, VipsImage *m, ...)
|
|
316
316
|
G_GNUC_NULL_TERMINATED;
|
|
317
317
|
|
|
318
318
|
VIPS_API
|
|
319
|
-
int vips_ifthenelse(
|
|
320
|
-
VipsImage **out, ...
|
|
319
|
+
int vips_ifthenelse(VipsImage *cond, VipsImage *in1, VipsImage *in2,
|
|
320
|
+
VipsImage **out, ...)
|
|
321
321
|
G_GNUC_NULL_TERMINATED;
|
|
322
322
|
VIPS_API
|
|
323
|
-
int vips_switch(
|
|
323
|
+
int vips_switch(VipsImage **tests, VipsImage **out, int n, ...)
|
|
324
324
|
G_GNUC_NULL_TERMINATED;
|
|
325
325
|
|
|
326
326
|
VIPS_API
|
|
327
|
-
int vips_flatten(
|
|
327
|
+
int vips_flatten(VipsImage *in, VipsImage **out, ...)
|
|
328
328
|
G_GNUC_NULL_TERMINATED;
|
|
329
329
|
VIPS_API
|
|
330
|
-
int vips_addalpha(
|
|
330
|
+
int vips_addalpha(VipsImage *in, VipsImage **out, ...)
|
|
331
331
|
G_GNUC_NULL_TERMINATED;
|
|
332
332
|
VIPS_API
|
|
333
|
-
int vips_premultiply(
|
|
333
|
+
int vips_premultiply(VipsImage *in, VipsImage **out, ...)
|
|
334
334
|
G_GNUC_NULL_TERMINATED;
|
|
335
335
|
VIPS_API
|
|
336
|
-
int vips_unpremultiply(
|
|
336
|
+
int vips_unpremultiply(VipsImage *in, VipsImage **out, ...)
|
|
337
337
|
G_GNUC_NULL_TERMINATED;
|
|
338
338
|
VIPS_API
|
|
339
|
-
int vips_composite(
|
|
339
|
+
int vips_composite(VipsImage **in, VipsImage **out, int n, int *mode, ...)
|
|
340
340
|
G_GNUC_NULL_TERMINATED;
|
|
341
341
|
VIPS_API
|
|
342
|
-
int vips_composite2(
|
|
343
|
-
VipsBlendMode mode, ...
|
|
342
|
+
int vips_composite2(VipsImage *base, VipsImage *overlay, VipsImage **out,
|
|
343
|
+
VipsBlendMode mode, ...)
|
|
344
344
|
G_GNUC_NULL_TERMINATED;
|
|
345
345
|
|
|
346
346
|
VIPS_API
|
|
347
|
-
int vips_falsecolour(
|
|
347
|
+
int vips_falsecolour(VipsImage *in, VipsImage **out, ...)
|
|
348
348
|
G_GNUC_NULL_TERMINATED;
|
|
349
349
|
VIPS_API
|
|
350
|
-
int vips_gamma(
|
|
350
|
+
int vips_gamma(VipsImage *in, VipsImage **out, ...)
|
|
351
351
|
G_GNUC_NULL_TERMINATED;
|
|
352
352
|
|
|
353
353
|
#ifdef __cplusplus
|
|
@@ -6,28 +6,28 @@
|
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
9
|
+
This file is part of VIPS.
|
|
10
|
+
|
|
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
|
+
|
|
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
|
+
|
|
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
|
|
|
@@ -46,46 +46,52 @@ typedef enum {
|
|
|
46
46
|
} VipsCombine;
|
|
47
47
|
|
|
48
48
|
VIPS_API
|
|
49
|
-
int vips_conv(
|
|
49
|
+
int vips_conv(VipsImage *in, VipsImage **out, VipsImage *mask, ...)
|
|
50
50
|
G_GNUC_NULL_TERMINATED;
|
|
51
51
|
VIPS_API
|
|
52
|
-
int vips_convf(
|
|
52
|
+
int vips_convf(VipsImage *in, VipsImage **out, VipsImage *mask, ...)
|
|
53
53
|
G_GNUC_NULL_TERMINATED;
|
|
54
54
|
VIPS_API
|
|
55
|
-
int vips_convi(
|
|
55
|
+
int vips_convi(VipsImage *in, VipsImage **out, VipsImage *mask, ...)
|
|
56
56
|
G_GNUC_NULL_TERMINATED;
|
|
57
57
|
VIPS_API
|
|
58
|
-
int vips_conva(
|
|
58
|
+
int vips_conva(VipsImage *in, VipsImage **out, VipsImage *mask, ...)
|
|
59
59
|
G_GNUC_NULL_TERMINATED;
|
|
60
60
|
VIPS_API
|
|
61
|
-
int vips_convsep(
|
|
61
|
+
int vips_convsep(VipsImage *in, VipsImage **out, VipsImage *mask, ...)
|
|
62
62
|
G_GNUC_NULL_TERMINATED;
|
|
63
63
|
VIPS_API
|
|
64
|
-
int vips_convasep(
|
|
64
|
+
int vips_convasep(VipsImage *in, VipsImage **out, VipsImage *mask, ...)
|
|
65
65
|
G_GNUC_NULL_TERMINATED;
|
|
66
66
|
|
|
67
67
|
VIPS_API
|
|
68
|
-
int vips_compass(
|
|
68
|
+
int vips_compass(VipsImage *in, VipsImage **out, VipsImage *mask, ...)
|
|
69
69
|
G_GNUC_NULL_TERMINATED;
|
|
70
70
|
VIPS_API
|
|
71
|
-
int vips_gaussblur(
|
|
71
|
+
int vips_gaussblur(VipsImage *in, VipsImage **out, double sigma, ...)
|
|
72
72
|
G_GNUC_NULL_TERMINATED;
|
|
73
73
|
VIPS_API
|
|
74
|
-
int vips_sharpen(
|
|
74
|
+
int vips_sharpen(VipsImage *in, VipsImage **out, ...)
|
|
75
75
|
G_GNUC_NULL_TERMINATED;
|
|
76
76
|
|
|
77
77
|
VIPS_API
|
|
78
|
-
int vips_spcor(
|
|
78
|
+
int vips_spcor(VipsImage *in, VipsImage *ref, VipsImage **out, ...)
|
|
79
79
|
G_GNUC_NULL_TERMINATED;
|
|
80
80
|
VIPS_API
|
|
81
|
-
int vips_fastcor(
|
|
81
|
+
int vips_fastcor(VipsImage *in, VipsImage *ref, VipsImage **out, ...)
|
|
82
82
|
G_GNUC_NULL_TERMINATED;
|
|
83
83
|
|
|
84
84
|
VIPS_API
|
|
85
|
-
int vips_sobel(
|
|
85
|
+
int vips_sobel(VipsImage *in, VipsImage **out, ...)
|
|
86
|
+
G_GNUC_NULL_TERMINATED;
|
|
87
|
+
VIPS_API
|
|
88
|
+
int vips_scharr(VipsImage *in, VipsImage **out, ...)
|
|
89
|
+
G_GNUC_NULL_TERMINATED;
|
|
90
|
+
VIPS_API
|
|
91
|
+
int vips_prewitt(VipsImage *in, VipsImage **out, ...)
|
|
86
92
|
G_GNUC_NULL_TERMINATED;
|
|
87
93
|
VIPS_API
|
|
88
|
-
int vips_canny(
|
|
94
|
+
int vips_canny(VipsImage *in, VipsImage **out, ...)
|
|
89
95
|
G_GNUC_NULL_TERMINATED;
|
|
90
96
|
|
|
91
97
|
#ifdef __cplusplus
|
package/include/vips/create.h
CHANGED
|
@@ -6,28 +6,28 @@
|
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
9
|
+
This file is part of VIPS.
|
|
10
|
+
|
|
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
|
+
|
|
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
|
+
|
|
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
|
|
|
@@ -47,111 +47,111 @@ typedef enum {
|
|
|
47
47
|
} VipsTextWrap;
|
|
48
48
|
|
|
49
49
|
VIPS_API
|
|
50
|
-
int vips_black(
|
|
50
|
+
int vips_black(VipsImage **out, int width, int height, ...)
|
|
51
51
|
G_GNUC_NULL_TERMINATED;
|
|
52
52
|
|
|
53
53
|
VIPS_API
|
|
54
|
-
int vips_xyz(
|
|
54
|
+
int vips_xyz(VipsImage **out, int width, int height, ...)
|
|
55
55
|
G_GNUC_NULL_TERMINATED;
|
|
56
56
|
VIPS_API
|
|
57
|
-
int vips_grey(
|
|
57
|
+
int vips_grey(VipsImage **out, int width, int height, ...)
|
|
58
58
|
G_GNUC_NULL_TERMINATED;
|
|
59
59
|
VIPS_API
|
|
60
|
-
int vips_gaussmat(
|
|
60
|
+
int vips_gaussmat(VipsImage **out, double sigma, double min_ampl, ...)
|
|
61
61
|
G_GNUC_NULL_TERMINATED;
|
|
62
62
|
VIPS_API
|
|
63
|
-
int vips_logmat(
|
|
63
|
+
int vips_logmat(VipsImage **out, double sigma, double min_ampl, ...)
|
|
64
64
|
G_GNUC_NULL_TERMINATED;
|
|
65
65
|
|
|
66
66
|
VIPS_API
|
|
67
|
-
int vips_text(
|
|
67
|
+
int vips_text(VipsImage **out, const char *text, ...)
|
|
68
68
|
G_GNUC_NULL_TERMINATED;
|
|
69
69
|
|
|
70
70
|
VIPS_API
|
|
71
|
-
int vips_gaussnoise(
|
|
71
|
+
int vips_gaussnoise(VipsImage **out, int width, int height, ...)
|
|
72
72
|
G_GNUC_NULL_TERMINATED;
|
|
73
73
|
VIPS_API
|
|
74
|
-
int vips_eye(
|
|
74
|
+
int vips_eye(VipsImage **out, int width, int height, ...)
|
|
75
75
|
G_GNUC_NULL_TERMINATED;
|
|
76
76
|
VIPS_API
|
|
77
|
-
int vips_sines(
|
|
77
|
+
int vips_sines(VipsImage **out, int width, int height, ...)
|
|
78
78
|
G_GNUC_NULL_TERMINATED;
|
|
79
79
|
VIPS_API
|
|
80
|
-
int vips_zone(
|
|
80
|
+
int vips_zone(VipsImage **out, int width, int height, ...)
|
|
81
81
|
G_GNUC_NULL_TERMINATED;
|
|
82
82
|
|
|
83
83
|
VIPS_API
|
|
84
|
-
int vips_identity(
|
|
84
|
+
int vips_identity(VipsImage **out, ...)
|
|
85
85
|
G_GNUC_NULL_TERMINATED;
|
|
86
86
|
VIPS_API
|
|
87
|
-
int vips_buildlut(
|
|
87
|
+
int vips_buildlut(VipsImage *in, VipsImage **out, ...)
|
|
88
88
|
G_GNUC_NULL_TERMINATED;
|
|
89
89
|
VIPS_API
|
|
90
|
-
int vips_invertlut(
|
|
90
|
+
int vips_invertlut(VipsImage *in, VipsImage **out, ...)
|
|
91
91
|
G_GNUC_NULL_TERMINATED;
|
|
92
92
|
VIPS_API
|
|
93
|
-
int vips_tonelut(
|
|
93
|
+
int vips_tonelut(VipsImage **out, ...)
|
|
94
94
|
G_GNUC_NULL_TERMINATED;
|
|
95
95
|
|
|
96
96
|
VIPS_API
|
|
97
|
-
int vips_mask_ideal(
|
|
98
|
-
double frequency_cutoff, ...
|
|
97
|
+
int vips_mask_ideal(VipsImage **out, int width, int height,
|
|
98
|
+
double frequency_cutoff, ...)
|
|
99
99
|
G_GNUC_NULL_TERMINATED;
|
|
100
100
|
VIPS_API
|
|
101
|
-
int vips_mask_ideal_ring(
|
|
102
|
-
double frequency_cutoff, double ringwidth, ...
|
|
101
|
+
int vips_mask_ideal_ring(VipsImage **out, int width, int height,
|
|
102
|
+
double frequency_cutoff, double ringwidth, ...)
|
|
103
103
|
G_GNUC_NULL_TERMINATED;
|
|
104
104
|
VIPS_API
|
|
105
|
-
int vips_mask_ideal_band(
|
|
106
|
-
double frequency_cutoff_x, double frequency_cutoff_y,
|
|
107
|
-
double radius, ...
|
|
105
|
+
int vips_mask_ideal_band(VipsImage **out, int width, int height,
|
|
106
|
+
double frequency_cutoff_x, double frequency_cutoff_y,
|
|
107
|
+
double radius, ...)
|
|
108
108
|
G_GNUC_NULL_TERMINATED;
|
|
109
109
|
VIPS_API
|
|
110
|
-
int vips_mask_butterworth(
|
|
111
|
-
double order,
|
|
112
|
-
double frequency_cutoff, double amplitude_cutoff, ...
|
|
110
|
+
int vips_mask_butterworth(VipsImage **out, int width, int height,
|
|
111
|
+
double order,
|
|
112
|
+
double frequency_cutoff, double amplitude_cutoff, ...)
|
|
113
113
|
G_GNUC_NULL_TERMINATED;
|
|
114
114
|
VIPS_API
|
|
115
|
-
int vips_mask_butterworth_ring(
|
|
116
|
-
double order,
|
|
117
|
-
double frequency_cutoff, double amplitude_cutoff,
|
|
118
|
-
double ringwidth, ...
|
|
115
|
+
int vips_mask_butterworth_ring(VipsImage **out, int width, int height,
|
|
116
|
+
double order,
|
|
117
|
+
double frequency_cutoff, double amplitude_cutoff,
|
|
118
|
+
double ringwidth, ...)
|
|
119
119
|
G_GNUC_NULL_TERMINATED;
|
|
120
120
|
VIPS_API
|
|
121
|
-
int vips_mask_butterworth_band(
|
|
122
|
-
double order,
|
|
123
|
-
double frequency_cutoff_x, double frequency_cutoff_y, double radius,
|
|
124
|
-
double amplitude_cutoff, ...
|
|
121
|
+
int vips_mask_butterworth_band(VipsImage **out, int width, int height,
|
|
122
|
+
double order,
|
|
123
|
+
double frequency_cutoff_x, double frequency_cutoff_y, double radius,
|
|
124
|
+
double amplitude_cutoff, ...)
|
|
125
125
|
G_GNUC_NULL_TERMINATED;
|
|
126
126
|
VIPS_API
|
|
127
|
-
int vips_mask_gaussian(
|
|
128
|
-
double frequency_cutoff, double amplitude_cutoff, ...
|
|
127
|
+
int vips_mask_gaussian(VipsImage **out, int width, int height,
|
|
128
|
+
double frequency_cutoff, double amplitude_cutoff, ...)
|
|
129
129
|
G_GNUC_NULL_TERMINATED;
|
|
130
130
|
VIPS_API
|
|
131
|
-
int vips_mask_gaussian_ring(
|
|
132
|
-
double frequency_cutoff, double amplitude_cutoff,
|
|
133
|
-
double ringwidth, ...
|
|
131
|
+
int vips_mask_gaussian_ring(VipsImage **out, int width, int height,
|
|
132
|
+
double frequency_cutoff, double amplitude_cutoff,
|
|
133
|
+
double ringwidth, ...)
|
|
134
134
|
G_GNUC_NULL_TERMINATED;
|
|
135
135
|
VIPS_API
|
|
136
|
-
int vips_mask_gaussian_band(
|
|
137
|
-
double frequency_cutoff_x, double frequency_cutoff_y, double radius,
|
|
138
|
-
double amplitude_cutoff, ...
|
|
136
|
+
int vips_mask_gaussian_band(VipsImage **out, int width, int height,
|
|
137
|
+
double frequency_cutoff_x, double frequency_cutoff_y, double radius,
|
|
138
|
+
double amplitude_cutoff, ...)
|
|
139
139
|
G_GNUC_NULL_TERMINATED;
|
|
140
140
|
VIPS_API
|
|
141
|
-
int vips_mask_fractal(
|
|
142
|
-
double fractal_dimension, ...
|
|
141
|
+
int vips_mask_fractal(VipsImage **out, int width, int height,
|
|
142
|
+
double fractal_dimension, ...)
|
|
143
143
|
G_GNUC_NULL_TERMINATED;
|
|
144
144
|
|
|
145
145
|
VIPS_API
|
|
146
|
-
int vips_fractsurf(
|
|
147
|
-
int width, int height, double fractal_dimension, ...
|
|
146
|
+
int vips_fractsurf(VipsImage **out,
|
|
147
|
+
int width, int height, double fractal_dimension, ...)
|
|
148
148
|
G_GNUC_NULL_TERMINATED;
|
|
149
149
|
|
|
150
150
|
VIPS_API
|
|
151
|
-
int vips_worley(
|
|
151
|
+
int vips_worley(VipsImage **out, int width, int height, ...)
|
|
152
152
|
G_GNUC_NULL_TERMINATED;
|
|
153
153
|
VIPS_API
|
|
154
|
-
int vips_perlin(
|
|
154
|
+
int vips_perlin(VipsImage **out, int width, int height, ...)
|
|
155
155
|
G_GNUC_NULL_TERMINATED;
|
|
156
156
|
|
|
157
157
|
#ifdef __cplusplus
|