@revizly/sharp-libvips-dev 1.0.20 → 1.0.22

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.
Files changed (82) hide show
  1. package/cplusplus/VConnection.cpp +151 -1
  2. package/cplusplus/VError.cpp +51 -1
  3. package/cplusplus/VImage.cpp +1611 -1
  4. package/cplusplus/VInterpolate.cpp +62 -1
  5. package/cplusplus/VRegion.cpp +27 -1
  6. package/cplusplus/vips-operators.cpp +3900 -1
  7. package/include/aom/aom_decoder.h +1 -1
  8. package/include/aom/aom_encoder.h +2 -0
  9. package/include/aom/aomcx.h +106 -25
  10. package/include/freetype2/freetype/config/ftconfig.h +1 -1
  11. package/include/freetype2/freetype/config/ftheader.h +1 -1
  12. package/include/freetype2/freetype/config/ftoption.h +37 -12
  13. package/include/freetype2/freetype/config/ftstdlib.h +1 -1
  14. package/include/freetype2/freetype/config/integer-types.h +29 -2
  15. package/include/freetype2/freetype/config/mac-support.h +1 -1
  16. package/include/freetype2/freetype/config/public-macros.h +3 -3
  17. package/include/freetype2/freetype/freetype.h +51 -47
  18. package/include/freetype2/freetype/ftadvanc.h +1 -1
  19. package/include/freetype2/freetype/ftbbox.h +1 -1
  20. package/include/freetype2/freetype/ftbdf.h +1 -1
  21. package/include/freetype2/freetype/ftbitmap.h +1 -1
  22. package/include/freetype2/freetype/ftbzip2.h +1 -1
  23. package/include/freetype2/freetype/ftcache.h +1 -1
  24. package/include/freetype2/freetype/ftcid.h +1 -1
  25. package/include/freetype2/freetype/ftcolor.h +13 -4
  26. package/include/freetype2/freetype/ftdriver.h +3 -3
  27. package/include/freetype2/freetype/fterrdef.h +1 -1
  28. package/include/freetype2/freetype/fterrors.h +1 -1
  29. package/include/freetype2/freetype/ftfntfmt.h +1 -1
  30. package/include/freetype2/freetype/ftgasp.h +1 -1
  31. package/include/freetype2/freetype/ftglyph.h +1 -1
  32. package/include/freetype2/freetype/ftgxval.h +1 -1
  33. package/include/freetype2/freetype/ftgzip.h +1 -1
  34. package/include/freetype2/freetype/ftimage.h +6 -2
  35. package/include/freetype2/freetype/ftincrem.h +1 -1
  36. package/include/freetype2/freetype/ftlcdfil.h +1 -1
  37. package/include/freetype2/freetype/ftlist.h +1 -1
  38. package/include/freetype2/freetype/ftlogging.h +184 -0
  39. package/include/freetype2/freetype/ftlzw.h +1 -1
  40. package/include/freetype2/freetype/ftmac.h +1 -1
  41. package/include/freetype2/freetype/ftmm.h +159 -103
  42. package/include/freetype2/freetype/ftmodapi.h +1 -1
  43. package/include/freetype2/freetype/ftmoderr.h +1 -1
  44. package/include/freetype2/freetype/ftotval.h +1 -1
  45. package/include/freetype2/freetype/ftoutln.h +1 -1
  46. package/include/freetype2/freetype/ftparams.h +1 -1
  47. package/include/freetype2/freetype/ftpfr.h +1 -1
  48. package/include/freetype2/freetype/ftrender.h +1 -1
  49. package/include/freetype2/freetype/ftsizes.h +1 -1
  50. package/include/freetype2/freetype/ftsnames.h +1 -1
  51. package/include/freetype2/freetype/ftstroke.h +1 -1
  52. package/include/freetype2/freetype/ftsynth.h +1 -1
  53. package/include/freetype2/freetype/ftsystem.h +1 -1
  54. package/include/freetype2/freetype/fttrigon.h +1 -1
  55. package/include/freetype2/freetype/fttypes.h +1 -1
  56. package/include/freetype2/freetype/ftwinfnt.h +2 -3
  57. package/include/freetype2/freetype/otsvg.h +1 -1
  58. package/include/freetype2/freetype/t1tables.h +1 -1
  59. package/include/freetype2/freetype/ttnameid.h +129 -129
  60. package/include/freetype2/freetype/tttables.h +8 -5
  61. package/include/freetype2/freetype/tttags.h +1 -1
  62. package/include/freetype2/ft2build.h +1 -1
  63. package/include/glib-2.0/gio/gdbuserror.h +9 -8
  64. package/include/glib-2.0/gio/ginetaddress.h +12 -0
  65. package/include/glib-2.0/gio/gioenums.h +9 -2
  66. package/include/glib-2.0/glib/gstring.h +2 -2
  67. package/include/glib-2.0/glib/gunicode.h +1 -1
  68. package/include/glib-2.0/gobject/glib-types.h +1 -1
  69. package/include/glib-2.0/gobject/gparam.h +1 -1
  70. package/include/glib-2.0/gobject/gvalue.h +78 -35
  71. package/include/harfbuzz/hb-version.h +2 -2
  72. package/include/hwy/ops/set_macros-inl.h +5 -0
  73. package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
  74. package/include/libxml2/libxml/valid.h +0 -3
  75. package/include/libxml2/libxml/xmlerror.h +1 -1
  76. package/include/libxml2/libxml/xmlversion.h +4 -4
  77. package/include/pango-1.0/pango/pango-enum-types.h +3 -0
  78. package/include/pango-1.0/pango/pango-features.h +3 -3
  79. package/include/pango-1.0/pango/pango-font.h +30 -0
  80. package/include/pango-1.0/pango/pango-version-macros.h +26 -0
  81. package/package.json +1 -1
  82. package/versions.json +8 -8
@@ -1 +1,3900 @@
1
- 404: Not Found
1
+ // bodies for vips operations
2
+ // this file is generated automatically, do not edit!
3
+ // clang-format off
4
+
5
+ VImage
6
+ VImage::CMC2LCh(VOption *options) const
7
+ {
8
+ VImage out;
9
+
10
+ call("CMC2LCh", (options ? options : VImage::option())
11
+ ->set("in", *this)
12
+ ->set("out", &out));
13
+
14
+ return out;
15
+ }
16
+
17
+ VImage
18
+ VImage::CMYK2XYZ(VOption *options) const
19
+ {
20
+ VImage out;
21
+
22
+ call("CMYK2XYZ", (options ? options : VImage::option())
23
+ ->set("in", *this)
24
+ ->set("out", &out));
25
+
26
+ return out;
27
+ }
28
+
29
+ VImage
30
+ VImage::HSV2sRGB(VOption *options) const
31
+ {
32
+ VImage out;
33
+
34
+ call("HSV2sRGB", (options ? options : VImage::option())
35
+ ->set("in", *this)
36
+ ->set("out", &out));
37
+
38
+ return out;
39
+ }
40
+
41
+ VImage
42
+ VImage::LCh2CMC(VOption *options) const
43
+ {
44
+ VImage out;
45
+
46
+ call("LCh2CMC", (options ? options : VImage::option())
47
+ ->set("in", *this)
48
+ ->set("out", &out));
49
+
50
+ return out;
51
+ }
52
+
53
+ VImage
54
+ VImage::LCh2Lab(VOption *options) const
55
+ {
56
+ VImage out;
57
+
58
+ call("LCh2Lab", (options ? options : VImage::option())
59
+ ->set("in", *this)
60
+ ->set("out", &out));
61
+
62
+ return out;
63
+ }
64
+
65
+ VImage
66
+ VImage::Lab2LCh(VOption *options) const
67
+ {
68
+ VImage out;
69
+
70
+ call("Lab2LCh", (options ? options : VImage::option())
71
+ ->set("in", *this)
72
+ ->set("out", &out));
73
+
74
+ return out;
75
+ }
76
+
77
+ VImage
78
+ VImage::Lab2LabQ(VOption *options) const
79
+ {
80
+ VImage out;
81
+
82
+ call("Lab2LabQ", (options ? options : VImage::option())
83
+ ->set("in", *this)
84
+ ->set("out", &out));
85
+
86
+ return out;
87
+ }
88
+
89
+ VImage
90
+ VImage::Lab2LabS(VOption *options) const
91
+ {
92
+ VImage out;
93
+
94
+ call("Lab2LabS", (options ? options : VImage::option())
95
+ ->set("in", *this)
96
+ ->set("out", &out));
97
+
98
+ return out;
99
+ }
100
+
101
+ VImage
102
+ VImage::Lab2XYZ(VOption *options) const
103
+ {
104
+ VImage out;
105
+
106
+ call("Lab2XYZ", (options ? options : VImage::option())
107
+ ->set("in", *this)
108
+ ->set("out", &out));
109
+
110
+ return out;
111
+ }
112
+
113
+ VImage
114
+ VImage::LabQ2Lab(VOption *options) const
115
+ {
116
+ VImage out;
117
+
118
+ call("LabQ2Lab", (options ? options : VImage::option())
119
+ ->set("in", *this)
120
+ ->set("out", &out));
121
+
122
+ return out;
123
+ }
124
+
125
+ VImage
126
+ VImage::LabQ2LabS(VOption *options) const
127
+ {
128
+ VImage out;
129
+
130
+ call("LabQ2LabS", (options ? options : VImage::option())
131
+ ->set("in", *this)
132
+ ->set("out", &out));
133
+
134
+ return out;
135
+ }
136
+
137
+ VImage
138
+ VImage::LabQ2sRGB(VOption *options) const
139
+ {
140
+ VImage out;
141
+
142
+ call("LabQ2sRGB", (options ? options : VImage::option())
143
+ ->set("in", *this)
144
+ ->set("out", &out));
145
+
146
+ return out;
147
+ }
148
+
149
+ VImage
150
+ VImage::LabS2Lab(VOption *options) const
151
+ {
152
+ VImage out;
153
+
154
+ call("LabS2Lab", (options ? options : VImage::option())
155
+ ->set("in", *this)
156
+ ->set("out", &out));
157
+
158
+ return out;
159
+ }
160
+
161
+ VImage
162
+ VImage::LabS2LabQ(VOption *options) const
163
+ {
164
+ VImage out;
165
+
166
+ call("LabS2LabQ", (options ? options : VImage::option())
167
+ ->set("in", *this)
168
+ ->set("out", &out));
169
+
170
+ return out;
171
+ }
172
+
173
+ VImage
174
+ VImage::XYZ2CMYK(VOption *options) const
175
+ {
176
+ VImage out;
177
+
178
+ call("XYZ2CMYK", (options ? options : VImage::option())
179
+ ->set("in", *this)
180
+ ->set("out", &out));
181
+
182
+ return out;
183
+ }
184
+
185
+ VImage
186
+ VImage::XYZ2Lab(VOption *options) const
187
+ {
188
+ VImage out;
189
+
190
+ call("XYZ2Lab", (options ? options : VImage::option())
191
+ ->set("in", *this)
192
+ ->set("out", &out));
193
+
194
+ return out;
195
+ }
196
+
197
+ VImage
198
+ VImage::XYZ2Yxy(VOption *options) const
199
+ {
200
+ VImage out;
201
+
202
+ call("XYZ2Yxy", (options ? options : VImage::option())
203
+ ->set("in", *this)
204
+ ->set("out", &out));
205
+
206
+ return out;
207
+ }
208
+
209
+ VImage
210
+ VImage::XYZ2scRGB(VOption *options) const
211
+ {
212
+ VImage out;
213
+
214
+ call("XYZ2scRGB", (options ? options : VImage::option())
215
+ ->set("in", *this)
216
+ ->set("out", &out));
217
+
218
+ return out;
219
+ }
220
+
221
+ VImage
222
+ VImage::Yxy2XYZ(VOption *options) const
223
+ {
224
+ VImage out;
225
+
226
+ call("Yxy2XYZ", (options ? options : VImage::option())
227
+ ->set("in", *this)
228
+ ->set("out", &out));
229
+
230
+ return out;
231
+ }
232
+
233
+ VImage
234
+ VImage::abs(VOption *options) const
235
+ {
236
+ VImage out;
237
+
238
+ call("abs", (options ? options : VImage::option())
239
+ ->set("in", *this)
240
+ ->set("out", &out));
241
+
242
+ return out;
243
+ }
244
+
245
+ VImage
246
+ VImage::add(VImage right, VOption *options) const
247
+ {
248
+ VImage out;
249
+
250
+ call("add", (options ? options : VImage::option())
251
+ ->set("left", *this)
252
+ ->set("out", &out)
253
+ ->set("right", right));
254
+
255
+ return out;
256
+ }
257
+
258
+ VImage
259
+ VImage::addalpha(VOption *options) const
260
+ {
261
+ VImage out;
262
+
263
+ call("addalpha", (options ? options : VImage::option())
264
+ ->set("in", *this)
265
+ ->set("out", &out));
266
+
267
+ return out;
268
+ }
269
+
270
+ VImage
271
+ VImage::affine(std::vector<double> matrix, VOption *options) const
272
+ {
273
+ VImage out;
274
+
275
+ call("affine", (options ? options : VImage::option())
276
+ ->set("in", *this)
277
+ ->set("out", &out)
278
+ ->set("matrix", matrix));
279
+
280
+ return out;
281
+ }
282
+
283
+ VImage
284
+ VImage::analyzeload(const char *filename, VOption *options)
285
+ {
286
+ VImage out;
287
+
288
+ call("analyzeload", (options ? options : VImage::option())
289
+ ->set("out", &out)
290
+ ->set("filename", filename));
291
+
292
+ return out;
293
+ }
294
+
295
+ VImage
296
+ VImage::arrayjoin(std::vector<VImage> in, VOption *options)
297
+ {
298
+ VImage out;
299
+
300
+ call("arrayjoin", (options ? options : VImage::option())
301
+ ->set("out", &out)
302
+ ->set("in", in));
303
+
304
+ return out;
305
+ }
306
+
307
+ VImage
308
+ VImage::autorot(VOption *options) const
309
+ {
310
+ VImage out;
311
+
312
+ call("autorot", (options ? options : VImage::option())
313
+ ->set("in", *this)
314
+ ->set("out", &out));
315
+
316
+ return out;
317
+ }
318
+
319
+ double
320
+ VImage::avg(VOption *options) const
321
+ {
322
+ double out;
323
+
324
+ call("avg", (options ? options : VImage::option())
325
+ ->set("in", *this)
326
+ ->set("out", &out));
327
+
328
+ return out;
329
+ }
330
+
331
+ VImage
332
+ VImage::bandbool(VipsOperationBoolean boolean, VOption *options) const
333
+ {
334
+ VImage out;
335
+
336
+ call("bandbool", (options ? options : VImage::option())
337
+ ->set("in", *this)
338
+ ->set("out", &out)
339
+ ->set("boolean", boolean));
340
+
341
+ return out;
342
+ }
343
+
344
+ VImage
345
+ VImage::bandfold(VOption *options) const
346
+ {
347
+ VImage out;
348
+
349
+ call("bandfold", (options ? options : VImage::option())
350
+ ->set("in", *this)
351
+ ->set("out", &out));
352
+
353
+ return out;
354
+ }
355
+
356
+ VImage
357
+ VImage::bandjoin(std::vector<VImage> in, VOption *options)
358
+ {
359
+ VImage out;
360
+
361
+ call("bandjoin", (options ? options : VImage::option())
362
+ ->set("out", &out)
363
+ ->set("in", in));
364
+
365
+ return out;
366
+ }
367
+
368
+ VImage
369
+ VImage::bandjoin_const(std::vector<double> c, VOption *options) const
370
+ {
371
+ VImage out;
372
+
373
+ call("bandjoin_const", (options ? options : VImage::option())
374
+ ->set("in", *this)
375
+ ->set("out", &out)
376
+ ->set("c", c));
377
+
378
+ return out;
379
+ }
380
+
381
+ VImage
382
+ VImage::bandmean(VOption *options) const
383
+ {
384
+ VImage out;
385
+
386
+ call("bandmean", (options ? options : VImage::option())
387
+ ->set("in", *this)
388
+ ->set("out", &out));
389
+
390
+ return out;
391
+ }
392
+
393
+ VImage
394
+ VImage::bandrank(std::vector<VImage> in, VOption *options)
395
+ {
396
+ VImage out;
397
+
398
+ call("bandrank", (options ? options : VImage::option())
399
+ ->set("out", &out)
400
+ ->set("in", in));
401
+
402
+ return out;
403
+ }
404
+
405
+ VImage
406
+ VImage::bandunfold(VOption *options) const
407
+ {
408
+ VImage out;
409
+
410
+ call("bandunfold", (options ? options : VImage::option())
411
+ ->set("in", *this)
412
+ ->set("out", &out));
413
+
414
+ return out;
415
+ }
416
+
417
+ VImage
418
+ VImage::black(int width, int height, VOption *options)
419
+ {
420
+ VImage out;
421
+
422
+ call("black", (options ? options : VImage::option())
423
+ ->set("out", &out)
424
+ ->set("width", width)
425
+ ->set("height", height));
426
+
427
+ return out;
428
+ }
429
+
430
+ VImage
431
+ VImage::boolean(VImage right, VipsOperationBoolean boolean, VOption *options) const
432
+ {
433
+ VImage out;
434
+
435
+ call("boolean", (options ? options : VImage::option())
436
+ ->set("left", *this)
437
+ ->set("out", &out)
438
+ ->set("right", right)
439
+ ->set("boolean", boolean));
440
+
441
+ return out;
442
+ }
443
+
444
+ VImage
445
+ VImage::boolean_const(VipsOperationBoolean boolean, std::vector<double> c, VOption *options) const
446
+ {
447
+ VImage out;
448
+
449
+ call("boolean_const", (options ? options : VImage::option())
450
+ ->set("in", *this)
451
+ ->set("out", &out)
452
+ ->set("boolean", boolean)
453
+ ->set("c", c));
454
+
455
+ return out;
456
+ }
457
+
458
+ VImage
459
+ VImage::buildlut(VOption *options) const
460
+ {
461
+ VImage out;
462
+
463
+ call("buildlut", (options ? options : VImage::option())
464
+ ->set("in", *this)
465
+ ->set("out", &out));
466
+
467
+ return out;
468
+ }
469
+
470
+ VImage
471
+ VImage::byteswap(VOption *options) const
472
+ {
473
+ VImage out;
474
+
475
+ call("byteswap", (options ? options : VImage::option())
476
+ ->set("in", *this)
477
+ ->set("out", &out));
478
+
479
+ return out;
480
+ }
481
+
482
+ VImage
483
+ VImage::cache(VOption *options) const
484
+ {
485
+ VImage out;
486
+
487
+ call("cache", (options ? options : VImage::option())
488
+ ->set("in", *this)
489
+ ->set("out", &out));
490
+
491
+ return out;
492
+ }
493
+
494
+ VImage
495
+ VImage::canny(VOption *options) const
496
+ {
497
+ VImage out;
498
+
499
+ call("canny", (options ? options : VImage::option())
500
+ ->set("in", *this)
501
+ ->set("out", &out));
502
+
503
+ return out;
504
+ }
505
+
506
+ VImage
507
+ VImage::case_image(std::vector<VImage> cases, VOption *options) const
508
+ {
509
+ VImage out;
510
+
511
+ call("case", (options ? options : VImage::option())
512
+ ->set("index", *this)
513
+ ->set("out", &out)
514
+ ->set("cases", cases));
515
+
516
+ return out;
517
+ }
518
+
519
+ VImage
520
+ VImage::cast(VipsBandFormat format, VOption *options) const
521
+ {
522
+ VImage out;
523
+
524
+ call("cast", (options ? options : VImage::option())
525
+ ->set("in", *this)
526
+ ->set("out", &out)
527
+ ->set("format", format));
528
+
529
+ return out;
530
+ }
531
+
532
+ VImage
533
+ VImage::clamp(VOption *options) const
534
+ {
535
+ VImage out;
536
+
537
+ call("clamp", (options ? options : VImage::option())
538
+ ->set("in", *this)
539
+ ->set("out", &out));
540
+
541
+ return out;
542
+ }
543
+
544
+ VImage
545
+ VImage::colourspace(VipsInterpretation space, VOption *options) const
546
+ {
547
+ VImage out;
548
+
549
+ call("colourspace", (options ? options : VImage::option())
550
+ ->set("in", *this)
551
+ ->set("out", &out)
552
+ ->set("space", space));
553
+
554
+ return out;
555
+ }
556
+
557
+ VImage
558
+ VImage::compass(VImage mask, VOption *options) const
559
+ {
560
+ VImage out;
561
+
562
+ call("compass", (options ? options : VImage::option())
563
+ ->set("in", *this)
564
+ ->set("out", &out)
565
+ ->set("mask", mask));
566
+
567
+ return out;
568
+ }
569
+
570
+ VImage
571
+ VImage::complex(VipsOperationComplex cmplx, VOption *options) const
572
+ {
573
+ VImage out;
574
+
575
+ call("complex", (options ? options : VImage::option())
576
+ ->set("in", *this)
577
+ ->set("out", &out)
578
+ ->set("cmplx", cmplx));
579
+
580
+ return out;
581
+ }
582
+
583
+ VImage
584
+ VImage::complex2(VImage right, VipsOperationComplex2 cmplx, VOption *options) const
585
+ {
586
+ VImage out;
587
+
588
+ call("complex2", (options ? options : VImage::option())
589
+ ->set("left", *this)
590
+ ->set("out", &out)
591
+ ->set("right", right)
592
+ ->set("cmplx", cmplx));
593
+
594
+ return out;
595
+ }
596
+
597
+ VImage
598
+ VImage::complexform(VImage right, VOption *options) const
599
+ {
600
+ VImage out;
601
+
602
+ call("complexform", (options ? options : VImage::option())
603
+ ->set("left", *this)
604
+ ->set("out", &out)
605
+ ->set("right", right));
606
+
607
+ return out;
608
+ }
609
+
610
+ VImage
611
+ VImage::complexget(VipsOperationComplexget get, VOption *options) const
612
+ {
613
+ VImage out;
614
+
615
+ call("complexget", (options ? options : VImage::option())
616
+ ->set("in", *this)
617
+ ->set("out", &out)
618
+ ->set("get", get));
619
+
620
+ return out;
621
+ }
622
+
623
+ VImage
624
+ VImage::composite(std::vector<VImage> in, std::vector<int> mode, VOption *options)
625
+ {
626
+ VImage out;
627
+
628
+ call("composite", (options ? options : VImage::option())
629
+ ->set("out", &out)
630
+ ->set("in", in)
631
+ ->set("mode", mode));
632
+
633
+ return out;
634
+ }
635
+
636
+ VImage
637
+ VImage::composite2(VImage overlay, VipsBlendMode mode, VOption *options) const
638
+ {
639
+ VImage out;
640
+
641
+ call("composite2", (options ? options : VImage::option())
642
+ ->set("base", *this)
643
+ ->set("out", &out)
644
+ ->set("overlay", overlay)
645
+ ->set("mode", mode));
646
+
647
+ return out;
648
+ }
649
+
650
+ VImage
651
+ VImage::conv(VImage mask, VOption *options) const
652
+ {
653
+ VImage out;
654
+
655
+ call("conv", (options ? options : VImage::option())
656
+ ->set("in", *this)
657
+ ->set("out", &out)
658
+ ->set("mask", mask));
659
+
660
+ return out;
661
+ }
662
+
663
+ VImage
664
+ VImage::conva(VImage mask, VOption *options) const
665
+ {
666
+ VImage out;
667
+
668
+ call("conva", (options ? options : VImage::option())
669
+ ->set("in", *this)
670
+ ->set("out", &out)
671
+ ->set("mask", mask));
672
+
673
+ return out;
674
+ }
675
+
676
+ VImage
677
+ VImage::convasep(VImage mask, VOption *options) const
678
+ {
679
+ VImage out;
680
+
681
+ call("convasep", (options ? options : VImage::option())
682
+ ->set("in", *this)
683
+ ->set("out", &out)
684
+ ->set("mask", mask));
685
+
686
+ return out;
687
+ }
688
+
689
+ VImage
690
+ VImage::convf(VImage mask, VOption *options) const
691
+ {
692
+ VImage out;
693
+
694
+ call("convf", (options ? options : VImage::option())
695
+ ->set("in", *this)
696
+ ->set("out", &out)
697
+ ->set("mask", mask));
698
+
699
+ return out;
700
+ }
701
+
702
+ VImage
703
+ VImage::convi(VImage mask, VOption *options) const
704
+ {
705
+ VImage out;
706
+
707
+ call("convi", (options ? options : VImage::option())
708
+ ->set("in", *this)
709
+ ->set("out", &out)
710
+ ->set("mask", mask));
711
+
712
+ return out;
713
+ }
714
+
715
+ VImage
716
+ VImage::convsep(VImage mask, VOption *options) const
717
+ {
718
+ VImage out;
719
+
720
+ call("convsep", (options ? options : VImage::option())
721
+ ->set("in", *this)
722
+ ->set("out", &out)
723
+ ->set("mask", mask));
724
+
725
+ return out;
726
+ }
727
+
728
+ VImage
729
+ VImage::copy(VOption *options) const
730
+ {
731
+ VImage out;
732
+
733
+ call("copy", (options ? options : VImage::option())
734
+ ->set("in", *this)
735
+ ->set("out", &out));
736
+
737
+ return out;
738
+ }
739
+
740
+ double
741
+ VImage::countlines(VipsDirection direction, VOption *options) const
742
+ {
743
+ double nolines;
744
+
745
+ call("countlines", (options ? options : VImage::option())
746
+ ->set("in", *this)
747
+ ->set("nolines", &nolines)
748
+ ->set("direction", direction));
749
+
750
+ return nolines;
751
+ }
752
+
753
+ VImage
754
+ VImage::crop(int left, int top, int width, int height, VOption *options) const
755
+ {
756
+ VImage out;
757
+
758
+ call("crop", (options ? options : VImage::option())
759
+ ->set("input", *this)
760
+ ->set("out", &out)
761
+ ->set("left", left)
762
+ ->set("top", top)
763
+ ->set("width", width)
764
+ ->set("height", height));
765
+
766
+ return out;
767
+ }
768
+
769
+ VImage
770
+ VImage::csvload(const char *filename, VOption *options)
771
+ {
772
+ VImage out;
773
+
774
+ call("csvload", (options ? options : VImage::option())
775
+ ->set("out", &out)
776
+ ->set("filename", filename));
777
+
778
+ return out;
779
+ }
780
+
781
+ VImage
782
+ VImage::csvload_source(VSource source, VOption *options)
783
+ {
784
+ VImage out;
785
+
786
+ call("csvload_source", (options ? options : VImage::option())
787
+ ->set("out", &out)
788
+ ->set("source", source));
789
+
790
+ return out;
791
+ }
792
+
793
+ void
794
+ VImage::csvsave(const char *filename, VOption *options) const
795
+ {
796
+ call("csvsave", (options ? options : VImage::option())
797
+ ->set("in", *this)
798
+ ->set("filename", filename));
799
+ }
800
+
801
+ void
802
+ VImage::csvsave_target(VTarget target, VOption *options) const
803
+ {
804
+ call("csvsave_target", (options ? options : VImage::option())
805
+ ->set("in", *this)
806
+ ->set("target", target));
807
+ }
808
+
809
+ VImage
810
+ VImage::dE00(VImage right, VOption *options) const
811
+ {
812
+ VImage out;
813
+
814
+ call("dE00", (options ? options : VImage::option())
815
+ ->set("left", *this)
816
+ ->set("out", &out)
817
+ ->set("right", right));
818
+
819
+ return out;
820
+ }
821
+
822
+ VImage
823
+ VImage::dE76(VImage right, VOption *options) const
824
+ {
825
+ VImage out;
826
+
827
+ call("dE76", (options ? options : VImage::option())
828
+ ->set("left", *this)
829
+ ->set("out", &out)
830
+ ->set("right", right));
831
+
832
+ return out;
833
+ }
834
+
835
+ VImage
836
+ VImage::dECMC(VImage right, VOption *options) const
837
+ {
838
+ VImage out;
839
+
840
+ call("dECMC", (options ? options : VImage::option())
841
+ ->set("left", *this)
842
+ ->set("out", &out)
843
+ ->set("right", right));
844
+
845
+ return out;
846
+ }
847
+
848
+ double
849
+ VImage::deviate(VOption *options) const
850
+ {
851
+ double out;
852
+
853
+ call("deviate", (options ? options : VImage::option())
854
+ ->set("in", *this)
855
+ ->set("out", &out));
856
+
857
+ return out;
858
+ }
859
+
860
+ VImage
861
+ VImage::divide(VImage right, VOption *options) const
862
+ {
863
+ VImage out;
864
+
865
+ call("divide", (options ? options : VImage::option())
866
+ ->set("left", *this)
867
+ ->set("out", &out)
868
+ ->set("right", right));
869
+
870
+ return out;
871
+ }
872
+
873
+ void
874
+ VImage::draw_circle(std::vector<double> ink, int cx, int cy, int radius, VOption *options) const
875
+ {
876
+ call("draw_circle", (options ? options : VImage::option())
877
+ ->set("image", *this)
878
+ ->set("ink", ink)
879
+ ->set("cx", cx)
880
+ ->set("cy", cy)
881
+ ->set("radius", radius));
882
+ }
883
+
884
+ void
885
+ VImage::draw_flood(std::vector<double> ink, int x, int y, VOption *options) const
886
+ {
887
+ call("draw_flood", (options ? options : VImage::option())
888
+ ->set("image", *this)
889
+ ->set("ink", ink)
890
+ ->set("x", x)
891
+ ->set("y", y));
892
+ }
893
+
894
+ void
895
+ VImage::draw_image(VImage sub, int x, int y, VOption *options) const
896
+ {
897
+ call("draw_image", (options ? options : VImage::option())
898
+ ->set("image", *this)
899
+ ->set("sub", sub)
900
+ ->set("x", x)
901
+ ->set("y", y));
902
+ }
903
+
904
+ void
905
+ VImage::draw_line(std::vector<double> ink, int x1, int y1, int x2, int y2, VOption *options) const
906
+ {
907
+ call("draw_line", (options ? options : VImage::option())
908
+ ->set("image", *this)
909
+ ->set("ink", ink)
910
+ ->set("x1", x1)
911
+ ->set("y1", y1)
912
+ ->set("x2", x2)
913
+ ->set("y2", y2));
914
+ }
915
+
916
+ void
917
+ VImage::draw_mask(std::vector<double> ink, VImage mask, int x, int y, VOption *options) const
918
+ {
919
+ call("draw_mask", (options ? options : VImage::option())
920
+ ->set("image", *this)
921
+ ->set("ink", ink)
922
+ ->set("mask", mask)
923
+ ->set("x", x)
924
+ ->set("y", y));
925
+ }
926
+
927
+ void
928
+ VImage::draw_rect(std::vector<double> ink, int left, int top, int width, int height, VOption *options) const
929
+ {
930
+ call("draw_rect", (options ? options : VImage::option())
931
+ ->set("image", *this)
932
+ ->set("ink", ink)
933
+ ->set("left", left)
934
+ ->set("top", top)
935
+ ->set("width", width)
936
+ ->set("height", height));
937
+ }
938
+
939
+ void
940
+ VImage::draw_smudge(int left, int top, int width, int height, VOption *options) const
941
+ {
942
+ call("draw_smudge", (options ? options : VImage::option())
943
+ ->set("image", *this)
944
+ ->set("left", left)
945
+ ->set("top", top)
946
+ ->set("width", width)
947
+ ->set("height", height));
948
+ }
949
+
950
+ void
951
+ VImage::dzsave(const char *filename, VOption *options) const
952
+ {
953
+ call("dzsave", (options ? options : VImage::option())
954
+ ->set("in", *this)
955
+ ->set("filename", filename));
956
+ }
957
+
958
+ VipsBlob *
959
+ VImage::dzsave_buffer(VOption *options) const
960
+ {
961
+ VipsBlob *buffer;
962
+
963
+ call("dzsave_buffer", (options ? options : VImage::option())
964
+ ->set("in", *this)
965
+ ->set("buffer", &buffer));
966
+
967
+ return buffer;
968
+ }
969
+
970
+ void
971
+ VImage::dzsave_target(VTarget target, VOption *options) const
972
+ {
973
+ call("dzsave_target", (options ? options : VImage::option())
974
+ ->set("in", *this)
975
+ ->set("target", target));
976
+ }
977
+
978
+ VImage
979
+ VImage::embed(int x, int y, int width, int height, VOption *options) const
980
+ {
981
+ VImage out;
982
+
983
+ call("embed", (options ? options : VImage::option())
984
+ ->set("in", *this)
985
+ ->set("out", &out)
986
+ ->set("x", x)
987
+ ->set("y", y)
988
+ ->set("width", width)
989
+ ->set("height", height));
990
+
991
+ return out;
992
+ }
993
+
994
+ VImage
995
+ VImage::extract_area(int left, int top, int width, int height, VOption *options) const
996
+ {
997
+ VImage out;
998
+
999
+ call("extract_area", (options ? options : VImage::option())
1000
+ ->set("input", *this)
1001
+ ->set("out", &out)
1002
+ ->set("left", left)
1003
+ ->set("top", top)
1004
+ ->set("width", width)
1005
+ ->set("height", height));
1006
+
1007
+ return out;
1008
+ }
1009
+
1010
+ VImage
1011
+ VImage::extract_band(int band, VOption *options) const
1012
+ {
1013
+ VImage out;
1014
+
1015
+ call("extract_band", (options ? options : VImage::option())
1016
+ ->set("in", *this)
1017
+ ->set("out", &out)
1018
+ ->set("band", band));
1019
+
1020
+ return out;
1021
+ }
1022
+
1023
+ VImage
1024
+ VImage::eye(int width, int height, VOption *options)
1025
+ {
1026
+ VImage out;
1027
+
1028
+ call("eye", (options ? options : VImage::option())
1029
+ ->set("out", &out)
1030
+ ->set("width", width)
1031
+ ->set("height", height));
1032
+
1033
+ return out;
1034
+ }
1035
+
1036
+ VImage
1037
+ VImage::falsecolour(VOption *options) const
1038
+ {
1039
+ VImage out;
1040
+
1041
+ call("falsecolour", (options ? options : VImage::option())
1042
+ ->set("in", *this)
1043
+ ->set("out", &out));
1044
+
1045
+ return out;
1046
+ }
1047
+
1048
+ VImage
1049
+ VImage::fastcor(VImage ref, VOption *options) const
1050
+ {
1051
+ VImage out;
1052
+
1053
+ call("fastcor", (options ? options : VImage::option())
1054
+ ->set("in", *this)
1055
+ ->set("out", &out)
1056
+ ->set("ref", ref));
1057
+
1058
+ return out;
1059
+ }
1060
+
1061
+ VImage
1062
+ VImage::fill_nearest(VOption *options) const
1063
+ {
1064
+ VImage out;
1065
+
1066
+ call("fill_nearest", (options ? options : VImage::option())
1067
+ ->set("in", *this)
1068
+ ->set("out", &out));
1069
+
1070
+ return out;
1071
+ }
1072
+
1073
+ int
1074
+ VImage::find_trim(int *top, int *width, int *height, VOption *options) const
1075
+ {
1076
+ int left;
1077
+
1078
+ call("find_trim", (options ? options : VImage::option())
1079
+ ->set("in", *this)
1080
+ ->set("left", &left)
1081
+ ->set("top", top)
1082
+ ->set("width", width)
1083
+ ->set("height", height));
1084
+
1085
+ return left;
1086
+ }
1087
+
1088
+ VImage
1089
+ VImage::fitsload(const char *filename, VOption *options)
1090
+ {
1091
+ VImage out;
1092
+
1093
+ call("fitsload", (options ? options : VImage::option())
1094
+ ->set("out", &out)
1095
+ ->set("filename", filename));
1096
+
1097
+ return out;
1098
+ }
1099
+
1100
+ VImage
1101
+ VImage::fitsload_source(VSource source, VOption *options)
1102
+ {
1103
+ VImage out;
1104
+
1105
+ call("fitsload_source", (options ? options : VImage::option())
1106
+ ->set("out", &out)
1107
+ ->set("source", source));
1108
+
1109
+ return out;
1110
+ }
1111
+
1112
+ void
1113
+ VImage::fitssave(const char *filename, VOption *options) const
1114
+ {
1115
+ call("fitssave", (options ? options : VImage::option())
1116
+ ->set("in", *this)
1117
+ ->set("filename", filename));
1118
+ }
1119
+
1120
+ VImage
1121
+ VImage::flatten(VOption *options) const
1122
+ {
1123
+ VImage out;
1124
+
1125
+ call("flatten", (options ? options : VImage::option())
1126
+ ->set("in", *this)
1127
+ ->set("out", &out));
1128
+
1129
+ return out;
1130
+ }
1131
+
1132
+ VImage
1133
+ VImage::flip(VipsDirection direction, VOption *options) const
1134
+ {
1135
+ VImage out;
1136
+
1137
+ call("flip", (options ? options : VImage::option())
1138
+ ->set("in", *this)
1139
+ ->set("out", &out)
1140
+ ->set("direction", direction));
1141
+
1142
+ return out;
1143
+ }
1144
+
1145
+ VImage
1146
+ VImage::float2rad(VOption *options) const
1147
+ {
1148
+ VImage out;
1149
+
1150
+ call("float2rad", (options ? options : VImage::option())
1151
+ ->set("in", *this)
1152
+ ->set("out", &out));
1153
+
1154
+ return out;
1155
+ }
1156
+
1157
+ VImage
1158
+ VImage::fractsurf(int width, int height, double fractal_dimension, VOption *options)
1159
+ {
1160
+ VImage out;
1161
+
1162
+ call("fractsurf", (options ? options : VImage::option())
1163
+ ->set("out", &out)
1164
+ ->set("width", width)
1165
+ ->set("height", height)
1166
+ ->set("fractal_dimension", fractal_dimension));
1167
+
1168
+ return out;
1169
+ }
1170
+
1171
+ VImage
1172
+ VImage::freqmult(VImage mask, VOption *options) const
1173
+ {
1174
+ VImage out;
1175
+
1176
+ call("freqmult", (options ? options : VImage::option())
1177
+ ->set("in", *this)
1178
+ ->set("out", &out)
1179
+ ->set("mask", mask));
1180
+
1181
+ return out;
1182
+ }
1183
+
1184
+ VImage
1185
+ VImage::fwfft(VOption *options) const
1186
+ {
1187
+ VImage out;
1188
+
1189
+ call("fwfft", (options ? options : VImage::option())
1190
+ ->set("in", *this)
1191
+ ->set("out", &out));
1192
+
1193
+ return out;
1194
+ }
1195
+
1196
+ VImage
1197
+ VImage::gamma(VOption *options) const
1198
+ {
1199
+ VImage out;
1200
+
1201
+ call("gamma", (options ? options : VImage::option())
1202
+ ->set("in", *this)
1203
+ ->set("out", &out));
1204
+
1205
+ return out;
1206
+ }
1207
+
1208
+ VImage
1209
+ VImage::gaussblur(double sigma, VOption *options) const
1210
+ {
1211
+ VImage out;
1212
+
1213
+ call("gaussblur", (options ? options : VImage::option())
1214
+ ->set("in", *this)
1215
+ ->set("out", &out)
1216
+ ->set("sigma", sigma));
1217
+
1218
+ return out;
1219
+ }
1220
+
1221
+ VImage
1222
+ VImage::gaussmat(double sigma, double min_ampl, VOption *options)
1223
+ {
1224
+ VImage out;
1225
+
1226
+ call("gaussmat", (options ? options : VImage::option())
1227
+ ->set("out", &out)
1228
+ ->set("sigma", sigma)
1229
+ ->set("min_ampl", min_ampl));
1230
+
1231
+ return out;
1232
+ }
1233
+
1234
+ VImage
1235
+ VImage::gaussnoise(int width, int height, VOption *options)
1236
+ {
1237
+ VImage out;
1238
+
1239
+ call("gaussnoise", (options ? options : VImage::option())
1240
+ ->set("out", &out)
1241
+ ->set("width", width)
1242
+ ->set("height", height));
1243
+
1244
+ return out;
1245
+ }
1246
+
1247
+ std::vector<double>
1248
+ VImage::getpoint(int x, int y, VOption *options) const
1249
+ {
1250
+ std::vector<double> out_array;
1251
+
1252
+ call("getpoint", (options ? options : VImage::option())
1253
+ ->set("in", *this)
1254
+ ->set("out_array", &out_array)
1255
+ ->set("x", x)
1256
+ ->set("y", y));
1257
+
1258
+ return out_array;
1259
+ }
1260
+
1261
+ VImage
1262
+ VImage::gifload(const char *filename, VOption *options)
1263
+ {
1264
+ VImage out;
1265
+
1266
+ call("gifload", (options ? options : VImage::option())
1267
+ ->set("out", &out)
1268
+ ->set("filename", filename));
1269
+
1270
+ return out;
1271
+ }
1272
+
1273
+ VImage
1274
+ VImage::gifload_buffer(VipsBlob *buffer, VOption *options)
1275
+ {
1276
+ VImage out;
1277
+
1278
+ call("gifload_buffer", (options ? options : VImage::option())
1279
+ ->set("out", &out)
1280
+ ->set("buffer", buffer));
1281
+
1282
+ return out;
1283
+ }
1284
+
1285
+ VImage
1286
+ VImage::gifload_source(VSource source, VOption *options)
1287
+ {
1288
+ VImage out;
1289
+
1290
+ call("gifload_source", (options ? options : VImage::option())
1291
+ ->set("out", &out)
1292
+ ->set("source", source));
1293
+
1294
+ return out;
1295
+ }
1296
+
1297
+ void
1298
+ VImage::gifsave(const char *filename, VOption *options) const
1299
+ {
1300
+ call("gifsave", (options ? options : VImage::option())
1301
+ ->set("in", *this)
1302
+ ->set("filename", filename));
1303
+ }
1304
+
1305
+ VipsBlob *
1306
+ VImage::gifsave_buffer(VOption *options) const
1307
+ {
1308
+ VipsBlob *buffer;
1309
+
1310
+ call("gifsave_buffer", (options ? options : VImage::option())
1311
+ ->set("in", *this)
1312
+ ->set("buffer", &buffer));
1313
+
1314
+ return buffer;
1315
+ }
1316
+
1317
+ void
1318
+ VImage::gifsave_target(VTarget target, VOption *options) const
1319
+ {
1320
+ call("gifsave_target", (options ? options : VImage::option())
1321
+ ->set("in", *this)
1322
+ ->set("target", target));
1323
+ }
1324
+
1325
+ VImage
1326
+ VImage::globalbalance(VOption *options) const
1327
+ {
1328
+ VImage out;
1329
+
1330
+ call("globalbalance", (options ? options : VImage::option())
1331
+ ->set("in", *this)
1332
+ ->set("out", &out));
1333
+
1334
+ return out;
1335
+ }
1336
+
1337
+ VImage
1338
+ VImage::gravity(VipsCompassDirection direction, int width, int height, VOption *options) const
1339
+ {
1340
+ VImage out;
1341
+
1342
+ call("gravity", (options ? options : VImage::option())
1343
+ ->set("in", *this)
1344
+ ->set("out", &out)
1345
+ ->set("direction", direction)
1346
+ ->set("width", width)
1347
+ ->set("height", height));
1348
+
1349
+ return out;
1350
+ }
1351
+
1352
+ VImage
1353
+ VImage::grey(int width, int height, VOption *options)
1354
+ {
1355
+ VImage out;
1356
+
1357
+ call("grey", (options ? options : VImage::option())
1358
+ ->set("out", &out)
1359
+ ->set("width", width)
1360
+ ->set("height", height));
1361
+
1362
+ return out;
1363
+ }
1364
+
1365
+ VImage
1366
+ VImage::grid(int tile_height, int across, int down, VOption *options) const
1367
+ {
1368
+ VImage out;
1369
+
1370
+ call("grid", (options ? options : VImage::option())
1371
+ ->set("in", *this)
1372
+ ->set("out", &out)
1373
+ ->set("tile_height", tile_height)
1374
+ ->set("across", across)
1375
+ ->set("down", down));
1376
+
1377
+ return out;
1378
+ }
1379
+
1380
+ VImage
1381
+ VImage::heifload(const char *filename, VOption *options)
1382
+ {
1383
+ VImage out;
1384
+
1385
+ call("heifload", (options ? options : VImage::option())
1386
+ ->set("out", &out)
1387
+ ->set("filename", filename));
1388
+
1389
+ return out;
1390
+ }
1391
+
1392
+ VImage
1393
+ VImage::heifload_buffer(VipsBlob *buffer, VOption *options)
1394
+ {
1395
+ VImage out;
1396
+
1397
+ call("heifload_buffer", (options ? options : VImage::option())
1398
+ ->set("out", &out)
1399
+ ->set("buffer", buffer));
1400
+
1401
+ return out;
1402
+ }
1403
+
1404
+ VImage
1405
+ VImage::heifload_source(VSource source, VOption *options)
1406
+ {
1407
+ VImage out;
1408
+
1409
+ call("heifload_source", (options ? options : VImage::option())
1410
+ ->set("out", &out)
1411
+ ->set("source", source));
1412
+
1413
+ return out;
1414
+ }
1415
+
1416
+ void
1417
+ VImage::heifsave(const char *filename, VOption *options) const
1418
+ {
1419
+ call("heifsave", (options ? options : VImage::option())
1420
+ ->set("in", *this)
1421
+ ->set("filename", filename));
1422
+ }
1423
+
1424
+ VipsBlob *
1425
+ VImage::heifsave_buffer(VOption *options) const
1426
+ {
1427
+ VipsBlob *buffer;
1428
+
1429
+ call("heifsave_buffer", (options ? options : VImage::option())
1430
+ ->set("in", *this)
1431
+ ->set("buffer", &buffer));
1432
+
1433
+ return buffer;
1434
+ }
1435
+
1436
+ void
1437
+ VImage::heifsave_target(VTarget target, VOption *options) const
1438
+ {
1439
+ call("heifsave_target", (options ? options : VImage::option())
1440
+ ->set("in", *this)
1441
+ ->set("target", target));
1442
+ }
1443
+
1444
+ VImage
1445
+ VImage::hist_cum(VOption *options) const
1446
+ {
1447
+ VImage out;
1448
+
1449
+ call("hist_cum", (options ? options : VImage::option())
1450
+ ->set("in", *this)
1451
+ ->set("out", &out));
1452
+
1453
+ return out;
1454
+ }
1455
+
1456
+ double
1457
+ VImage::hist_entropy(VOption *options) const
1458
+ {
1459
+ double out;
1460
+
1461
+ call("hist_entropy", (options ? options : VImage::option())
1462
+ ->set("in", *this)
1463
+ ->set("out", &out));
1464
+
1465
+ return out;
1466
+ }
1467
+
1468
+ VImage
1469
+ VImage::hist_equal(VOption *options) const
1470
+ {
1471
+ VImage out;
1472
+
1473
+ call("hist_equal", (options ? options : VImage::option())
1474
+ ->set("in", *this)
1475
+ ->set("out", &out));
1476
+
1477
+ return out;
1478
+ }
1479
+
1480
+ VImage
1481
+ VImage::hist_find(VOption *options) const
1482
+ {
1483
+ VImage out;
1484
+
1485
+ call("hist_find", (options ? options : VImage::option())
1486
+ ->set("in", *this)
1487
+ ->set("out", &out));
1488
+
1489
+ return out;
1490
+ }
1491
+
1492
+ VImage
1493
+ VImage::hist_find_indexed(VImage index, VOption *options) const
1494
+ {
1495
+ VImage out;
1496
+
1497
+ call("hist_find_indexed", (options ? options : VImage::option())
1498
+ ->set("in", *this)
1499
+ ->set("out", &out)
1500
+ ->set("index", index));
1501
+
1502
+ return out;
1503
+ }
1504
+
1505
+ VImage
1506
+ VImage::hist_find_ndim(VOption *options) const
1507
+ {
1508
+ VImage out;
1509
+
1510
+ call("hist_find_ndim", (options ? options : VImage::option())
1511
+ ->set("in", *this)
1512
+ ->set("out", &out));
1513
+
1514
+ return out;
1515
+ }
1516
+
1517
+ bool
1518
+ VImage::hist_ismonotonic(VOption *options) const
1519
+ {
1520
+ bool monotonic;
1521
+
1522
+ call("hist_ismonotonic", (options ? options : VImage::option())
1523
+ ->set("in", *this)
1524
+ ->set("monotonic", &monotonic));
1525
+
1526
+ return monotonic;
1527
+ }
1528
+
1529
+ VImage
1530
+ VImage::hist_local(int width, int height, VOption *options) const
1531
+ {
1532
+ VImage out;
1533
+
1534
+ call("hist_local", (options ? options : VImage::option())
1535
+ ->set("in", *this)
1536
+ ->set("out", &out)
1537
+ ->set("width", width)
1538
+ ->set("height", height));
1539
+
1540
+ return out;
1541
+ }
1542
+
1543
+ VImage
1544
+ VImage::hist_match(VImage ref, VOption *options) const
1545
+ {
1546
+ VImage out;
1547
+
1548
+ call("hist_match", (options ? options : VImage::option())
1549
+ ->set("in", *this)
1550
+ ->set("out", &out)
1551
+ ->set("ref", ref));
1552
+
1553
+ return out;
1554
+ }
1555
+
1556
+ VImage
1557
+ VImage::hist_norm(VOption *options) const
1558
+ {
1559
+ VImage out;
1560
+
1561
+ call("hist_norm", (options ? options : VImage::option())
1562
+ ->set("in", *this)
1563
+ ->set("out", &out));
1564
+
1565
+ return out;
1566
+ }
1567
+
1568
+ VImage
1569
+ VImage::hist_plot(VOption *options) const
1570
+ {
1571
+ VImage out;
1572
+
1573
+ call("hist_plot", (options ? options : VImage::option())
1574
+ ->set("in", *this)
1575
+ ->set("out", &out));
1576
+
1577
+ return out;
1578
+ }
1579
+
1580
+ VImage
1581
+ VImage::hough_circle(VOption *options) const
1582
+ {
1583
+ VImage out;
1584
+
1585
+ call("hough_circle", (options ? options : VImage::option())
1586
+ ->set("in", *this)
1587
+ ->set("out", &out));
1588
+
1589
+ return out;
1590
+ }
1591
+
1592
+ VImage
1593
+ VImage::hough_line(VOption *options) const
1594
+ {
1595
+ VImage out;
1596
+
1597
+ call("hough_line", (options ? options : VImage::option())
1598
+ ->set("in", *this)
1599
+ ->set("out", &out));
1600
+
1601
+ return out;
1602
+ }
1603
+
1604
+ VImage
1605
+ VImage::icc_export(VOption *options) const
1606
+ {
1607
+ VImage out;
1608
+
1609
+ call("icc_export", (options ? options : VImage::option())
1610
+ ->set("in", *this)
1611
+ ->set("out", &out));
1612
+
1613
+ return out;
1614
+ }
1615
+
1616
+ VImage
1617
+ VImage::icc_import(VOption *options) const
1618
+ {
1619
+ VImage out;
1620
+
1621
+ call("icc_import", (options ? options : VImage::option())
1622
+ ->set("in", *this)
1623
+ ->set("out", &out));
1624
+
1625
+ return out;
1626
+ }
1627
+
1628
+ VImage
1629
+ VImage::icc_transform(const char *output_profile, VOption *options) const
1630
+ {
1631
+ VImage out;
1632
+
1633
+ call("icc_transform", (options ? options : VImage::option())
1634
+ ->set("in", *this)
1635
+ ->set("out", &out)
1636
+ ->set("output_profile", output_profile));
1637
+
1638
+ return out;
1639
+ }
1640
+
1641
+ VImage
1642
+ VImage::identity(VOption *options)
1643
+ {
1644
+ VImage out;
1645
+
1646
+ call("identity", (options ? options : VImage::option())
1647
+ ->set("out", &out));
1648
+
1649
+ return out;
1650
+ }
1651
+
1652
+ VImage
1653
+ VImage::ifthenelse(VImage in1, VImage in2, VOption *options) const
1654
+ {
1655
+ VImage out;
1656
+
1657
+ call("ifthenelse", (options ? options : VImage::option())
1658
+ ->set("cond", *this)
1659
+ ->set("out", &out)
1660
+ ->set("in1", in1)
1661
+ ->set("in2", in2));
1662
+
1663
+ return out;
1664
+ }
1665
+
1666
+ VImage
1667
+ VImage::insert(VImage sub, int x, int y, VOption *options) const
1668
+ {
1669
+ VImage out;
1670
+
1671
+ call("insert", (options ? options : VImage::option())
1672
+ ->set("main", *this)
1673
+ ->set("out", &out)
1674
+ ->set("sub", sub)
1675
+ ->set("x", x)
1676
+ ->set("y", y));
1677
+
1678
+ return out;
1679
+ }
1680
+
1681
+ VImage
1682
+ VImage::invert(VOption *options) const
1683
+ {
1684
+ VImage out;
1685
+
1686
+ call("invert", (options ? options : VImage::option())
1687
+ ->set("in", *this)
1688
+ ->set("out", &out));
1689
+
1690
+ return out;
1691
+ }
1692
+
1693
+ VImage
1694
+ VImage::invertlut(VOption *options) const
1695
+ {
1696
+ VImage out;
1697
+
1698
+ call("invertlut", (options ? options : VImage::option())
1699
+ ->set("in", *this)
1700
+ ->set("out", &out));
1701
+
1702
+ return out;
1703
+ }
1704
+
1705
+ VImage
1706
+ VImage::invfft(VOption *options) const
1707
+ {
1708
+ VImage out;
1709
+
1710
+ call("invfft", (options ? options : VImage::option())
1711
+ ->set("in", *this)
1712
+ ->set("out", &out));
1713
+
1714
+ return out;
1715
+ }
1716
+
1717
+ VImage
1718
+ VImage::join(VImage in2, VipsDirection direction, VOption *options) const
1719
+ {
1720
+ VImage out;
1721
+
1722
+ call("join", (options ? options : VImage::option())
1723
+ ->set("in1", *this)
1724
+ ->set("out", &out)
1725
+ ->set("in2", in2)
1726
+ ->set("direction", direction));
1727
+
1728
+ return out;
1729
+ }
1730
+
1731
+ VImage
1732
+ VImage::jp2kload(const char *filename, VOption *options)
1733
+ {
1734
+ VImage out;
1735
+
1736
+ call("jp2kload", (options ? options : VImage::option())
1737
+ ->set("out", &out)
1738
+ ->set("filename", filename));
1739
+
1740
+ return out;
1741
+ }
1742
+
1743
+ VImage
1744
+ VImage::jp2kload_buffer(VipsBlob *buffer, VOption *options)
1745
+ {
1746
+ VImage out;
1747
+
1748
+ call("jp2kload_buffer", (options ? options : VImage::option())
1749
+ ->set("out", &out)
1750
+ ->set("buffer", buffer));
1751
+
1752
+ return out;
1753
+ }
1754
+
1755
+ VImage
1756
+ VImage::jp2kload_source(VSource source, VOption *options)
1757
+ {
1758
+ VImage out;
1759
+
1760
+ call("jp2kload_source", (options ? options : VImage::option())
1761
+ ->set("out", &out)
1762
+ ->set("source", source));
1763
+
1764
+ return out;
1765
+ }
1766
+
1767
+ void
1768
+ VImage::jp2ksave(const char *filename, VOption *options) const
1769
+ {
1770
+ call("jp2ksave", (options ? options : VImage::option())
1771
+ ->set("in", *this)
1772
+ ->set("filename", filename));
1773
+ }
1774
+
1775
+ VipsBlob *
1776
+ VImage::jp2ksave_buffer(VOption *options) const
1777
+ {
1778
+ VipsBlob *buffer;
1779
+
1780
+ call("jp2ksave_buffer", (options ? options : VImage::option())
1781
+ ->set("in", *this)
1782
+ ->set("buffer", &buffer));
1783
+
1784
+ return buffer;
1785
+ }
1786
+
1787
+ void
1788
+ VImage::jp2ksave_target(VTarget target, VOption *options) const
1789
+ {
1790
+ call("jp2ksave_target", (options ? options : VImage::option())
1791
+ ->set("in", *this)
1792
+ ->set("target", target));
1793
+ }
1794
+
1795
+ VImage
1796
+ VImage::jpegload(const char *filename, VOption *options)
1797
+ {
1798
+ VImage out;
1799
+
1800
+ call("jpegload", (options ? options : VImage::option())
1801
+ ->set("out", &out)
1802
+ ->set("filename", filename));
1803
+
1804
+ return out;
1805
+ }
1806
+
1807
+ VImage
1808
+ VImage::jpegload_buffer(VipsBlob *buffer, VOption *options)
1809
+ {
1810
+ VImage out;
1811
+
1812
+ call("jpegload_buffer", (options ? options : VImage::option())
1813
+ ->set("out", &out)
1814
+ ->set("buffer", buffer));
1815
+
1816
+ return out;
1817
+ }
1818
+
1819
+ VImage
1820
+ VImage::jpegload_source(VSource source, VOption *options)
1821
+ {
1822
+ VImage out;
1823
+
1824
+ call("jpegload_source", (options ? options : VImage::option())
1825
+ ->set("out", &out)
1826
+ ->set("source", source));
1827
+
1828
+ return out;
1829
+ }
1830
+
1831
+ void
1832
+ VImage::jpegsave(const char *filename, VOption *options) const
1833
+ {
1834
+ call("jpegsave", (options ? options : VImage::option())
1835
+ ->set("in", *this)
1836
+ ->set("filename", filename));
1837
+ }
1838
+
1839
+ VipsBlob *
1840
+ VImage::jpegsave_buffer(VOption *options) const
1841
+ {
1842
+ VipsBlob *buffer;
1843
+
1844
+ call("jpegsave_buffer", (options ? options : VImage::option())
1845
+ ->set("in", *this)
1846
+ ->set("buffer", &buffer));
1847
+
1848
+ return buffer;
1849
+ }
1850
+
1851
+ void
1852
+ VImage::jpegsave_mime(VOption *options) const
1853
+ {
1854
+ call("jpegsave_mime", (options ? options : VImage::option())
1855
+ ->set("in", *this));
1856
+ }
1857
+
1858
+ void
1859
+ VImage::jpegsave_target(VTarget target, VOption *options) const
1860
+ {
1861
+ call("jpegsave_target", (options ? options : VImage::option())
1862
+ ->set("in", *this)
1863
+ ->set("target", target));
1864
+ }
1865
+
1866
+ VImage
1867
+ VImage::jxlload(const char *filename, VOption *options)
1868
+ {
1869
+ VImage out;
1870
+
1871
+ call("jxlload", (options ? options : VImage::option())
1872
+ ->set("out", &out)
1873
+ ->set("filename", filename));
1874
+
1875
+ return out;
1876
+ }
1877
+
1878
+ VImage
1879
+ VImage::jxlload_buffer(VipsBlob *buffer, VOption *options)
1880
+ {
1881
+ VImage out;
1882
+
1883
+ call("jxlload_buffer", (options ? options : VImage::option())
1884
+ ->set("out", &out)
1885
+ ->set("buffer", buffer));
1886
+
1887
+ return out;
1888
+ }
1889
+
1890
+ VImage
1891
+ VImage::jxlload_source(VSource source, VOption *options)
1892
+ {
1893
+ VImage out;
1894
+
1895
+ call("jxlload_source", (options ? options : VImage::option())
1896
+ ->set("out", &out)
1897
+ ->set("source", source));
1898
+
1899
+ return out;
1900
+ }
1901
+
1902
+ void
1903
+ VImage::jxlsave(const char *filename, VOption *options) const
1904
+ {
1905
+ call("jxlsave", (options ? options : VImage::option())
1906
+ ->set("in", *this)
1907
+ ->set("filename", filename));
1908
+ }
1909
+
1910
+ VipsBlob *
1911
+ VImage::jxlsave_buffer(VOption *options) const
1912
+ {
1913
+ VipsBlob *buffer;
1914
+
1915
+ call("jxlsave_buffer", (options ? options : VImage::option())
1916
+ ->set("in", *this)
1917
+ ->set("buffer", &buffer));
1918
+
1919
+ return buffer;
1920
+ }
1921
+
1922
+ void
1923
+ VImage::jxlsave_target(VTarget target, VOption *options) const
1924
+ {
1925
+ call("jxlsave_target", (options ? options : VImage::option())
1926
+ ->set("in", *this)
1927
+ ->set("target", target));
1928
+ }
1929
+
1930
+ VImage
1931
+ VImage::labelregions(VOption *options) const
1932
+ {
1933
+ VImage mask;
1934
+
1935
+ call("labelregions", (options ? options : VImage::option())
1936
+ ->set("in", *this)
1937
+ ->set("mask", &mask));
1938
+
1939
+ return mask;
1940
+ }
1941
+
1942
+ VImage
1943
+ VImage::linear(std::vector<double> a, std::vector<double> b, VOption *options) const
1944
+ {
1945
+ VImage out;
1946
+
1947
+ call("linear", (options ? options : VImage::option())
1948
+ ->set("in", *this)
1949
+ ->set("out", &out)
1950
+ ->set("a", a)
1951
+ ->set("b", b));
1952
+
1953
+ return out;
1954
+ }
1955
+
1956
+ VImage
1957
+ VImage::linecache(VOption *options) const
1958
+ {
1959
+ VImage out;
1960
+
1961
+ call("linecache", (options ? options : VImage::option())
1962
+ ->set("in", *this)
1963
+ ->set("out", &out));
1964
+
1965
+ return out;
1966
+ }
1967
+
1968
+ VImage
1969
+ VImage::logmat(double sigma, double min_ampl, VOption *options)
1970
+ {
1971
+ VImage out;
1972
+
1973
+ call("logmat", (options ? options : VImage::option())
1974
+ ->set("out", &out)
1975
+ ->set("sigma", sigma)
1976
+ ->set("min_ampl", min_ampl));
1977
+
1978
+ return out;
1979
+ }
1980
+
1981
+ VImage
1982
+ VImage::magickload(const char *filename, VOption *options)
1983
+ {
1984
+ VImage out;
1985
+
1986
+ call("magickload", (options ? options : VImage::option())
1987
+ ->set("out", &out)
1988
+ ->set("filename", filename));
1989
+
1990
+ return out;
1991
+ }
1992
+
1993
+ VImage
1994
+ VImage::magickload_buffer(VipsBlob *buffer, VOption *options)
1995
+ {
1996
+ VImage out;
1997
+
1998
+ call("magickload_buffer", (options ? options : VImage::option())
1999
+ ->set("out", &out)
2000
+ ->set("buffer", buffer));
2001
+
2002
+ return out;
2003
+ }
2004
+
2005
+ void
2006
+ VImage::magicksave(const char *filename, VOption *options) const
2007
+ {
2008
+ call("magicksave", (options ? options : VImage::option())
2009
+ ->set("in", *this)
2010
+ ->set("filename", filename));
2011
+ }
2012
+
2013
+ VipsBlob *
2014
+ VImage::magicksave_buffer(VOption *options) const
2015
+ {
2016
+ VipsBlob *buffer;
2017
+
2018
+ call("magicksave_buffer", (options ? options : VImage::option())
2019
+ ->set("in", *this)
2020
+ ->set("buffer", &buffer));
2021
+
2022
+ return buffer;
2023
+ }
2024
+
2025
+ VImage
2026
+ VImage::mapim(VImage index, VOption *options) const
2027
+ {
2028
+ VImage out;
2029
+
2030
+ call("mapim", (options ? options : VImage::option())
2031
+ ->set("in", *this)
2032
+ ->set("out", &out)
2033
+ ->set("index", index));
2034
+
2035
+ return out;
2036
+ }
2037
+
2038
+ VImage
2039
+ VImage::maplut(VImage lut, VOption *options) const
2040
+ {
2041
+ VImage out;
2042
+
2043
+ call("maplut", (options ? options : VImage::option())
2044
+ ->set("in", *this)
2045
+ ->set("out", &out)
2046
+ ->set("lut", lut));
2047
+
2048
+ return out;
2049
+ }
2050
+
2051
+ VImage
2052
+ VImage::mask_butterworth(int width, int height, double order, double frequency_cutoff, double amplitude_cutoff, VOption *options)
2053
+ {
2054
+ VImage out;
2055
+
2056
+ call("mask_butterworth", (options ? options : VImage::option())
2057
+ ->set("out", &out)
2058
+ ->set("width", width)
2059
+ ->set("height", height)
2060
+ ->set("order", order)
2061
+ ->set("frequency_cutoff", frequency_cutoff)
2062
+ ->set("amplitude_cutoff", amplitude_cutoff));
2063
+
2064
+ return out;
2065
+ }
2066
+
2067
+ VImage
2068
+ VImage::mask_butterworth_band(int width, int height, double order, double frequency_cutoff_x, double frequency_cutoff_y, double radius, double amplitude_cutoff, VOption *options)
2069
+ {
2070
+ VImage out;
2071
+
2072
+ call("mask_butterworth_band", (options ? options : VImage::option())
2073
+ ->set("out", &out)
2074
+ ->set("width", width)
2075
+ ->set("height", height)
2076
+ ->set("order", order)
2077
+ ->set("frequency_cutoff_x", frequency_cutoff_x)
2078
+ ->set("frequency_cutoff_y", frequency_cutoff_y)
2079
+ ->set("radius", radius)
2080
+ ->set("amplitude_cutoff", amplitude_cutoff));
2081
+
2082
+ return out;
2083
+ }
2084
+
2085
+ VImage
2086
+ VImage::mask_butterworth_ring(int width, int height, double order, double frequency_cutoff, double amplitude_cutoff, double ringwidth, VOption *options)
2087
+ {
2088
+ VImage out;
2089
+
2090
+ call("mask_butterworth_ring", (options ? options : VImage::option())
2091
+ ->set("out", &out)
2092
+ ->set("width", width)
2093
+ ->set("height", height)
2094
+ ->set("order", order)
2095
+ ->set("frequency_cutoff", frequency_cutoff)
2096
+ ->set("amplitude_cutoff", amplitude_cutoff)
2097
+ ->set("ringwidth", ringwidth));
2098
+
2099
+ return out;
2100
+ }
2101
+
2102
+ VImage
2103
+ VImage::mask_fractal(int width, int height, double fractal_dimension, VOption *options)
2104
+ {
2105
+ VImage out;
2106
+
2107
+ call("mask_fractal", (options ? options : VImage::option())
2108
+ ->set("out", &out)
2109
+ ->set("width", width)
2110
+ ->set("height", height)
2111
+ ->set("fractal_dimension", fractal_dimension));
2112
+
2113
+ return out;
2114
+ }
2115
+
2116
+ VImage
2117
+ VImage::mask_gaussian(int width, int height, double frequency_cutoff, double amplitude_cutoff, VOption *options)
2118
+ {
2119
+ VImage out;
2120
+
2121
+ call("mask_gaussian", (options ? options : VImage::option())
2122
+ ->set("out", &out)
2123
+ ->set("width", width)
2124
+ ->set("height", height)
2125
+ ->set("frequency_cutoff", frequency_cutoff)
2126
+ ->set("amplitude_cutoff", amplitude_cutoff));
2127
+
2128
+ return out;
2129
+ }
2130
+
2131
+ VImage
2132
+ VImage::mask_gaussian_band(int width, int height, double frequency_cutoff_x, double frequency_cutoff_y, double radius, double amplitude_cutoff, VOption *options)
2133
+ {
2134
+ VImage out;
2135
+
2136
+ call("mask_gaussian_band", (options ? options : VImage::option())
2137
+ ->set("out", &out)
2138
+ ->set("width", width)
2139
+ ->set("height", height)
2140
+ ->set("frequency_cutoff_x", frequency_cutoff_x)
2141
+ ->set("frequency_cutoff_y", frequency_cutoff_y)
2142
+ ->set("radius", radius)
2143
+ ->set("amplitude_cutoff", amplitude_cutoff));
2144
+
2145
+ return out;
2146
+ }
2147
+
2148
+ VImage
2149
+ VImage::mask_gaussian_ring(int width, int height, double frequency_cutoff, double amplitude_cutoff, double ringwidth, VOption *options)
2150
+ {
2151
+ VImage out;
2152
+
2153
+ call("mask_gaussian_ring", (options ? options : VImage::option())
2154
+ ->set("out", &out)
2155
+ ->set("width", width)
2156
+ ->set("height", height)
2157
+ ->set("frequency_cutoff", frequency_cutoff)
2158
+ ->set("amplitude_cutoff", amplitude_cutoff)
2159
+ ->set("ringwidth", ringwidth));
2160
+
2161
+ return out;
2162
+ }
2163
+
2164
+ VImage
2165
+ VImage::mask_ideal(int width, int height, double frequency_cutoff, VOption *options)
2166
+ {
2167
+ VImage out;
2168
+
2169
+ call("mask_ideal", (options ? options : VImage::option())
2170
+ ->set("out", &out)
2171
+ ->set("width", width)
2172
+ ->set("height", height)
2173
+ ->set("frequency_cutoff", frequency_cutoff));
2174
+
2175
+ return out;
2176
+ }
2177
+
2178
+ VImage
2179
+ VImage::mask_ideal_band(int width, int height, double frequency_cutoff_x, double frequency_cutoff_y, double radius, VOption *options)
2180
+ {
2181
+ VImage out;
2182
+
2183
+ call("mask_ideal_band", (options ? options : VImage::option())
2184
+ ->set("out", &out)
2185
+ ->set("width", width)
2186
+ ->set("height", height)
2187
+ ->set("frequency_cutoff_x", frequency_cutoff_x)
2188
+ ->set("frequency_cutoff_y", frequency_cutoff_y)
2189
+ ->set("radius", radius));
2190
+
2191
+ return out;
2192
+ }
2193
+
2194
+ VImage
2195
+ VImage::mask_ideal_ring(int width, int height, double frequency_cutoff, double ringwidth, VOption *options)
2196
+ {
2197
+ VImage out;
2198
+
2199
+ call("mask_ideal_ring", (options ? options : VImage::option())
2200
+ ->set("out", &out)
2201
+ ->set("width", width)
2202
+ ->set("height", height)
2203
+ ->set("frequency_cutoff", frequency_cutoff)
2204
+ ->set("ringwidth", ringwidth));
2205
+
2206
+ return out;
2207
+ }
2208
+
2209
+ VImage
2210
+ VImage::match(VImage sec, int xr1, int yr1, int xs1, int ys1, int xr2, int yr2, int xs2, int ys2, VOption *options) const
2211
+ {
2212
+ VImage out;
2213
+
2214
+ call("match", (options ? options : VImage::option())
2215
+ ->set("ref", *this)
2216
+ ->set("out", &out)
2217
+ ->set("sec", sec)
2218
+ ->set("xr1", xr1)
2219
+ ->set("yr1", yr1)
2220
+ ->set("xs1", xs1)
2221
+ ->set("ys1", ys1)
2222
+ ->set("xr2", xr2)
2223
+ ->set("yr2", yr2)
2224
+ ->set("xs2", xs2)
2225
+ ->set("ys2", ys2));
2226
+
2227
+ return out;
2228
+ }
2229
+
2230
+ VImage
2231
+ VImage::math(VipsOperationMath math, VOption *options) const
2232
+ {
2233
+ VImage out;
2234
+
2235
+ call("math", (options ? options : VImage::option())
2236
+ ->set("in", *this)
2237
+ ->set("out", &out)
2238
+ ->set("math", math));
2239
+
2240
+ return out;
2241
+ }
2242
+
2243
+ VImage
2244
+ VImage::math2(VImage right, VipsOperationMath2 math2, VOption *options) const
2245
+ {
2246
+ VImage out;
2247
+
2248
+ call("math2", (options ? options : VImage::option())
2249
+ ->set("left", *this)
2250
+ ->set("out", &out)
2251
+ ->set("right", right)
2252
+ ->set("math2", math2));
2253
+
2254
+ return out;
2255
+ }
2256
+
2257
+ VImage
2258
+ VImage::math2_const(VipsOperationMath2 math2, std::vector<double> c, VOption *options) const
2259
+ {
2260
+ VImage out;
2261
+
2262
+ call("math2_const", (options ? options : VImage::option())
2263
+ ->set("in", *this)
2264
+ ->set("out", &out)
2265
+ ->set("math2", math2)
2266
+ ->set("c", c));
2267
+
2268
+ return out;
2269
+ }
2270
+
2271
+ VImage
2272
+ VImage::matload(const char *filename, VOption *options)
2273
+ {
2274
+ VImage out;
2275
+
2276
+ call("matload", (options ? options : VImage::option())
2277
+ ->set("out", &out)
2278
+ ->set("filename", filename));
2279
+
2280
+ return out;
2281
+ }
2282
+
2283
+ VImage
2284
+ VImage::matrixinvert(VOption *options) const
2285
+ {
2286
+ VImage out;
2287
+
2288
+ call("matrixinvert", (options ? options : VImage::option())
2289
+ ->set("in", *this)
2290
+ ->set("out", &out));
2291
+
2292
+ return out;
2293
+ }
2294
+
2295
+ VImage
2296
+ VImage::matrixload(const char *filename, VOption *options)
2297
+ {
2298
+ VImage out;
2299
+
2300
+ call("matrixload", (options ? options : VImage::option())
2301
+ ->set("out", &out)
2302
+ ->set("filename", filename));
2303
+
2304
+ return out;
2305
+ }
2306
+
2307
+ VImage
2308
+ VImage::matrixload_source(VSource source, VOption *options)
2309
+ {
2310
+ VImage out;
2311
+
2312
+ call("matrixload_source", (options ? options : VImage::option())
2313
+ ->set("out", &out)
2314
+ ->set("source", source));
2315
+
2316
+ return out;
2317
+ }
2318
+
2319
+ VImage
2320
+ VImage::matrixmultiply(VImage right, VOption *options) const
2321
+ {
2322
+ VImage out;
2323
+
2324
+ call("matrixmultiply", (options ? options : VImage::option())
2325
+ ->set("left", *this)
2326
+ ->set("out", &out)
2327
+ ->set("right", right));
2328
+
2329
+ return out;
2330
+ }
2331
+
2332
+ void
2333
+ VImage::matrixprint(VOption *options) const
2334
+ {
2335
+ call("matrixprint", (options ? options : VImage::option())
2336
+ ->set("in", *this));
2337
+ }
2338
+
2339
+ void
2340
+ VImage::matrixsave(const char *filename, VOption *options) const
2341
+ {
2342
+ call("matrixsave", (options ? options : VImage::option())
2343
+ ->set("in", *this)
2344
+ ->set("filename", filename));
2345
+ }
2346
+
2347
+ void
2348
+ VImage::matrixsave_target(VTarget target, VOption *options) const
2349
+ {
2350
+ call("matrixsave_target", (options ? options : VImage::option())
2351
+ ->set("in", *this)
2352
+ ->set("target", target));
2353
+ }
2354
+
2355
+ double
2356
+ VImage::max(VOption *options) const
2357
+ {
2358
+ double out;
2359
+
2360
+ call("max", (options ? options : VImage::option())
2361
+ ->set("in", *this)
2362
+ ->set("out", &out));
2363
+
2364
+ return out;
2365
+ }
2366
+
2367
+ VImage
2368
+ VImage::maxpair(VImage right, VOption *options) const
2369
+ {
2370
+ VImage out;
2371
+
2372
+ call("maxpair", (options ? options : VImage::option())
2373
+ ->set("left", *this)
2374
+ ->set("out", &out)
2375
+ ->set("right", right));
2376
+
2377
+ return out;
2378
+ }
2379
+
2380
+ VImage
2381
+ VImage::measure(int h, int v, VOption *options) const
2382
+ {
2383
+ VImage out;
2384
+
2385
+ call("measure", (options ? options : VImage::option())
2386
+ ->set("in", *this)
2387
+ ->set("out", &out)
2388
+ ->set("h", h)
2389
+ ->set("v", v));
2390
+
2391
+ return out;
2392
+ }
2393
+
2394
+ VImage
2395
+ VImage::merge(VImage sec, VipsDirection direction, int dx, int dy, VOption *options) const
2396
+ {
2397
+ VImage out;
2398
+
2399
+ call("merge", (options ? options : VImage::option())
2400
+ ->set("ref", *this)
2401
+ ->set("out", &out)
2402
+ ->set("sec", sec)
2403
+ ->set("direction", direction)
2404
+ ->set("dx", dx)
2405
+ ->set("dy", dy));
2406
+
2407
+ return out;
2408
+ }
2409
+
2410
+ double
2411
+ VImage::min(VOption *options) const
2412
+ {
2413
+ double out;
2414
+
2415
+ call("min", (options ? options : VImage::option())
2416
+ ->set("in", *this)
2417
+ ->set("out", &out));
2418
+
2419
+ return out;
2420
+ }
2421
+
2422
+ VImage
2423
+ VImage::minpair(VImage right, VOption *options) const
2424
+ {
2425
+ VImage out;
2426
+
2427
+ call("minpair", (options ? options : VImage::option())
2428
+ ->set("left", *this)
2429
+ ->set("out", &out)
2430
+ ->set("right", right));
2431
+
2432
+ return out;
2433
+ }
2434
+
2435
+ VImage
2436
+ VImage::morph(VImage mask, VipsOperationMorphology morph, VOption *options) const
2437
+ {
2438
+ VImage out;
2439
+
2440
+ call("morph", (options ? options : VImage::option())
2441
+ ->set("in", *this)
2442
+ ->set("out", &out)
2443
+ ->set("mask", mask)
2444
+ ->set("morph", morph));
2445
+
2446
+ return out;
2447
+ }
2448
+
2449
+ VImage
2450
+ VImage::mosaic(VImage sec, VipsDirection direction, int xref, int yref, int xsec, int ysec, VOption *options) const
2451
+ {
2452
+ VImage out;
2453
+
2454
+ call("mosaic", (options ? options : VImage::option())
2455
+ ->set("ref", *this)
2456
+ ->set("out", &out)
2457
+ ->set("sec", sec)
2458
+ ->set("direction", direction)
2459
+ ->set("xref", xref)
2460
+ ->set("yref", yref)
2461
+ ->set("xsec", xsec)
2462
+ ->set("ysec", ysec));
2463
+
2464
+ return out;
2465
+ }
2466
+
2467
+ VImage
2468
+ VImage::mosaic1(VImage sec, VipsDirection direction, int xr1, int yr1, int xs1, int ys1, int xr2, int yr2, int xs2, int ys2, VOption *options) const
2469
+ {
2470
+ VImage out;
2471
+
2472
+ call("mosaic1", (options ? options : VImage::option())
2473
+ ->set("ref", *this)
2474
+ ->set("out", &out)
2475
+ ->set("sec", sec)
2476
+ ->set("direction", direction)
2477
+ ->set("xr1", xr1)
2478
+ ->set("yr1", yr1)
2479
+ ->set("xs1", xs1)
2480
+ ->set("ys1", ys1)
2481
+ ->set("xr2", xr2)
2482
+ ->set("yr2", yr2)
2483
+ ->set("xs2", xs2)
2484
+ ->set("ys2", ys2));
2485
+
2486
+ return out;
2487
+ }
2488
+
2489
+ VImage
2490
+ VImage::msb(VOption *options) const
2491
+ {
2492
+ VImage out;
2493
+
2494
+ call("msb", (options ? options : VImage::option())
2495
+ ->set("in", *this)
2496
+ ->set("out", &out));
2497
+
2498
+ return out;
2499
+ }
2500
+
2501
+ VImage
2502
+ VImage::multiply(VImage right, VOption *options) const
2503
+ {
2504
+ VImage out;
2505
+
2506
+ call("multiply", (options ? options : VImage::option())
2507
+ ->set("left", *this)
2508
+ ->set("out", &out)
2509
+ ->set("right", right));
2510
+
2511
+ return out;
2512
+ }
2513
+
2514
+ VImage
2515
+ VImage::niftiload(const char *filename, VOption *options)
2516
+ {
2517
+ VImage out;
2518
+
2519
+ call("niftiload", (options ? options : VImage::option())
2520
+ ->set("out", &out)
2521
+ ->set("filename", filename));
2522
+
2523
+ return out;
2524
+ }
2525
+
2526
+ VImage
2527
+ VImage::niftiload_source(VSource source, VOption *options)
2528
+ {
2529
+ VImage out;
2530
+
2531
+ call("niftiload_source", (options ? options : VImage::option())
2532
+ ->set("out", &out)
2533
+ ->set("source", source));
2534
+
2535
+ return out;
2536
+ }
2537
+
2538
+ void
2539
+ VImage::niftisave(const char *filename, VOption *options) const
2540
+ {
2541
+ call("niftisave", (options ? options : VImage::option())
2542
+ ->set("in", *this)
2543
+ ->set("filename", filename));
2544
+ }
2545
+
2546
+ VImage
2547
+ VImage::openexrload(const char *filename, VOption *options)
2548
+ {
2549
+ VImage out;
2550
+
2551
+ call("openexrload", (options ? options : VImage::option())
2552
+ ->set("out", &out)
2553
+ ->set("filename", filename));
2554
+
2555
+ return out;
2556
+ }
2557
+
2558
+ VImage
2559
+ VImage::openslideload(const char *filename, VOption *options)
2560
+ {
2561
+ VImage out;
2562
+
2563
+ call("openslideload", (options ? options : VImage::option())
2564
+ ->set("out", &out)
2565
+ ->set("filename", filename));
2566
+
2567
+ return out;
2568
+ }
2569
+
2570
+ VImage
2571
+ VImage::openslideload_source(VSource source, VOption *options)
2572
+ {
2573
+ VImage out;
2574
+
2575
+ call("openslideload_source", (options ? options : VImage::option())
2576
+ ->set("out", &out)
2577
+ ->set("source", source));
2578
+
2579
+ return out;
2580
+ }
2581
+
2582
+ VImage
2583
+ VImage::pdfload(const char *filename, VOption *options)
2584
+ {
2585
+ VImage out;
2586
+
2587
+ call("pdfload", (options ? options : VImage::option())
2588
+ ->set("out", &out)
2589
+ ->set("filename", filename));
2590
+
2591
+ return out;
2592
+ }
2593
+
2594
+ VImage
2595
+ VImage::pdfload_buffer(VipsBlob *buffer, VOption *options)
2596
+ {
2597
+ VImage out;
2598
+
2599
+ call("pdfload_buffer", (options ? options : VImage::option())
2600
+ ->set("out", &out)
2601
+ ->set("buffer", buffer));
2602
+
2603
+ return out;
2604
+ }
2605
+
2606
+ VImage
2607
+ VImage::pdfload_source(VSource source, VOption *options)
2608
+ {
2609
+ VImage out;
2610
+
2611
+ call("pdfload_source", (options ? options : VImage::option())
2612
+ ->set("out", &out)
2613
+ ->set("source", source));
2614
+
2615
+ return out;
2616
+ }
2617
+
2618
+ int
2619
+ VImage::percent(double percent, VOption *options) const
2620
+ {
2621
+ int threshold;
2622
+
2623
+ call("percent", (options ? options : VImage::option())
2624
+ ->set("in", *this)
2625
+ ->set("threshold", &threshold)
2626
+ ->set("percent", percent));
2627
+
2628
+ return threshold;
2629
+ }
2630
+
2631
+ VImage
2632
+ VImage::perlin(int width, int height, VOption *options)
2633
+ {
2634
+ VImage out;
2635
+
2636
+ call("perlin", (options ? options : VImage::option())
2637
+ ->set("out", &out)
2638
+ ->set("width", width)
2639
+ ->set("height", height));
2640
+
2641
+ return out;
2642
+ }
2643
+
2644
+ VImage
2645
+ VImage::phasecor(VImage in2, VOption *options) const
2646
+ {
2647
+ VImage out;
2648
+
2649
+ call("phasecor", (options ? options : VImage::option())
2650
+ ->set("in", *this)
2651
+ ->set("out", &out)
2652
+ ->set("in2", in2));
2653
+
2654
+ return out;
2655
+ }
2656
+
2657
+ VImage
2658
+ VImage::pngload(const char *filename, VOption *options)
2659
+ {
2660
+ VImage out;
2661
+
2662
+ call("pngload", (options ? options : VImage::option())
2663
+ ->set("out", &out)
2664
+ ->set("filename", filename));
2665
+
2666
+ return out;
2667
+ }
2668
+
2669
+ VImage
2670
+ VImage::pngload_buffer(VipsBlob *buffer, VOption *options)
2671
+ {
2672
+ VImage out;
2673
+
2674
+ call("pngload_buffer", (options ? options : VImage::option())
2675
+ ->set("out", &out)
2676
+ ->set("buffer", buffer));
2677
+
2678
+ return out;
2679
+ }
2680
+
2681
+ VImage
2682
+ VImage::pngload_source(VSource source, VOption *options)
2683
+ {
2684
+ VImage out;
2685
+
2686
+ call("pngload_source", (options ? options : VImage::option())
2687
+ ->set("out", &out)
2688
+ ->set("source", source));
2689
+
2690
+ return out;
2691
+ }
2692
+
2693
+ void
2694
+ VImage::pngsave(const char *filename, VOption *options) const
2695
+ {
2696
+ call("pngsave", (options ? options : VImage::option())
2697
+ ->set("in", *this)
2698
+ ->set("filename", filename));
2699
+ }
2700
+
2701
+ VipsBlob *
2702
+ VImage::pngsave_buffer(VOption *options) const
2703
+ {
2704
+ VipsBlob *buffer;
2705
+
2706
+ call("pngsave_buffer", (options ? options : VImage::option())
2707
+ ->set("in", *this)
2708
+ ->set("buffer", &buffer));
2709
+
2710
+ return buffer;
2711
+ }
2712
+
2713
+ void
2714
+ VImage::pngsave_target(VTarget target, VOption *options) const
2715
+ {
2716
+ call("pngsave_target", (options ? options : VImage::option())
2717
+ ->set("in", *this)
2718
+ ->set("target", target));
2719
+ }
2720
+
2721
+ VImage
2722
+ VImage::ppmload(const char *filename, VOption *options)
2723
+ {
2724
+ VImage out;
2725
+
2726
+ call("ppmload", (options ? options : VImage::option())
2727
+ ->set("out", &out)
2728
+ ->set("filename", filename));
2729
+
2730
+ return out;
2731
+ }
2732
+
2733
+ VImage
2734
+ VImage::ppmload_buffer(VipsBlob *buffer, VOption *options)
2735
+ {
2736
+ VImage out;
2737
+
2738
+ call("ppmload_buffer", (options ? options : VImage::option())
2739
+ ->set("out", &out)
2740
+ ->set("buffer", buffer));
2741
+
2742
+ return out;
2743
+ }
2744
+
2745
+ VImage
2746
+ VImage::ppmload_source(VSource source, VOption *options)
2747
+ {
2748
+ VImage out;
2749
+
2750
+ call("ppmload_source", (options ? options : VImage::option())
2751
+ ->set("out", &out)
2752
+ ->set("source", source));
2753
+
2754
+ return out;
2755
+ }
2756
+
2757
+ void
2758
+ VImage::ppmsave(const char *filename, VOption *options) const
2759
+ {
2760
+ call("ppmsave", (options ? options : VImage::option())
2761
+ ->set("in", *this)
2762
+ ->set("filename", filename));
2763
+ }
2764
+
2765
+ void
2766
+ VImage::ppmsave_target(VTarget target, VOption *options) const
2767
+ {
2768
+ call("ppmsave_target", (options ? options : VImage::option())
2769
+ ->set("in", *this)
2770
+ ->set("target", target));
2771
+ }
2772
+
2773
+ VImage
2774
+ VImage::premultiply(VOption *options) const
2775
+ {
2776
+ VImage out;
2777
+
2778
+ call("premultiply", (options ? options : VImage::option())
2779
+ ->set("in", *this)
2780
+ ->set("out", &out));
2781
+
2782
+ return out;
2783
+ }
2784
+
2785
+ VImage
2786
+ VImage::prewitt(VOption *options) const
2787
+ {
2788
+ VImage out;
2789
+
2790
+ call("prewitt", (options ? options : VImage::option())
2791
+ ->set("in", *this)
2792
+ ->set("out", &out));
2793
+
2794
+ return out;
2795
+ }
2796
+
2797
+ VImage
2798
+ VImage::profile(VImage *rows, VOption *options) const
2799
+ {
2800
+ VImage columns;
2801
+
2802
+ call("profile", (options ? options : VImage::option())
2803
+ ->set("in", *this)
2804
+ ->set("columns", &columns)
2805
+ ->set("rows", rows));
2806
+
2807
+ return columns;
2808
+ }
2809
+
2810
+ VipsBlob *
2811
+ VImage::profile_load(const char *name, VOption *options)
2812
+ {
2813
+ VipsBlob *profile;
2814
+
2815
+ call("profile_load", (options ? options : VImage::option())
2816
+ ->set("profile", &profile)
2817
+ ->set("name", name));
2818
+
2819
+ return profile;
2820
+ }
2821
+
2822
+ VImage
2823
+ VImage::project(VImage *rows, VOption *options) const
2824
+ {
2825
+ VImage columns;
2826
+
2827
+ call("project", (options ? options : VImage::option())
2828
+ ->set("in", *this)
2829
+ ->set("columns", &columns)
2830
+ ->set("rows", rows));
2831
+
2832
+ return columns;
2833
+ }
2834
+
2835
+ VImage
2836
+ VImage::quadratic(VImage coeff, VOption *options) const
2837
+ {
2838
+ VImage out;
2839
+
2840
+ call("quadratic", (options ? options : VImage::option())
2841
+ ->set("in", *this)
2842
+ ->set("out", &out)
2843
+ ->set("coeff", coeff));
2844
+
2845
+ return out;
2846
+ }
2847
+
2848
+ VImage
2849
+ VImage::rad2float(VOption *options) const
2850
+ {
2851
+ VImage out;
2852
+
2853
+ call("rad2float", (options ? options : VImage::option())
2854
+ ->set("in", *this)
2855
+ ->set("out", &out));
2856
+
2857
+ return out;
2858
+ }
2859
+
2860
+ VImage
2861
+ VImage::radload(const char *filename, VOption *options)
2862
+ {
2863
+ VImage out;
2864
+
2865
+ call("radload", (options ? options : VImage::option())
2866
+ ->set("out", &out)
2867
+ ->set("filename", filename));
2868
+
2869
+ return out;
2870
+ }
2871
+
2872
+ VImage
2873
+ VImage::radload_buffer(VipsBlob *buffer, VOption *options)
2874
+ {
2875
+ VImage out;
2876
+
2877
+ call("radload_buffer", (options ? options : VImage::option())
2878
+ ->set("out", &out)
2879
+ ->set("buffer", buffer));
2880
+
2881
+ return out;
2882
+ }
2883
+
2884
+ VImage
2885
+ VImage::radload_source(VSource source, VOption *options)
2886
+ {
2887
+ VImage out;
2888
+
2889
+ call("radload_source", (options ? options : VImage::option())
2890
+ ->set("out", &out)
2891
+ ->set("source", source));
2892
+
2893
+ return out;
2894
+ }
2895
+
2896
+ void
2897
+ VImage::radsave(const char *filename, VOption *options) const
2898
+ {
2899
+ call("radsave", (options ? options : VImage::option())
2900
+ ->set("in", *this)
2901
+ ->set("filename", filename));
2902
+ }
2903
+
2904
+ VipsBlob *
2905
+ VImage::radsave_buffer(VOption *options) const
2906
+ {
2907
+ VipsBlob *buffer;
2908
+
2909
+ call("radsave_buffer", (options ? options : VImage::option())
2910
+ ->set("in", *this)
2911
+ ->set("buffer", &buffer));
2912
+
2913
+ return buffer;
2914
+ }
2915
+
2916
+ void
2917
+ VImage::radsave_target(VTarget target, VOption *options) const
2918
+ {
2919
+ call("radsave_target", (options ? options : VImage::option())
2920
+ ->set("in", *this)
2921
+ ->set("target", target));
2922
+ }
2923
+
2924
+ VImage
2925
+ VImage::rank(int width, int height, int index, VOption *options) const
2926
+ {
2927
+ VImage out;
2928
+
2929
+ call("rank", (options ? options : VImage::option())
2930
+ ->set("in", *this)
2931
+ ->set("out", &out)
2932
+ ->set("width", width)
2933
+ ->set("height", height)
2934
+ ->set("index", index));
2935
+
2936
+ return out;
2937
+ }
2938
+
2939
+ VImage
2940
+ VImage::rawload(const char *filename, int width, int height, int bands, VOption *options)
2941
+ {
2942
+ VImage out;
2943
+
2944
+ call("rawload", (options ? options : VImage::option())
2945
+ ->set("out", &out)
2946
+ ->set("filename", filename)
2947
+ ->set("width", width)
2948
+ ->set("height", height)
2949
+ ->set("bands", bands));
2950
+
2951
+ return out;
2952
+ }
2953
+
2954
+ void
2955
+ VImage::rawsave(const char *filename, VOption *options) const
2956
+ {
2957
+ call("rawsave", (options ? options : VImage::option())
2958
+ ->set("in", *this)
2959
+ ->set("filename", filename));
2960
+ }
2961
+
2962
+ VipsBlob *
2963
+ VImage::rawsave_buffer(VOption *options) const
2964
+ {
2965
+ VipsBlob *buffer;
2966
+
2967
+ call("rawsave_buffer", (options ? options : VImage::option())
2968
+ ->set("in", *this)
2969
+ ->set("buffer", &buffer));
2970
+
2971
+ return buffer;
2972
+ }
2973
+
2974
+ void
2975
+ VImage::rawsave_target(VTarget target, VOption *options) const
2976
+ {
2977
+ call("rawsave_target", (options ? options : VImage::option())
2978
+ ->set("in", *this)
2979
+ ->set("target", target));
2980
+ }
2981
+
2982
+ VImage
2983
+ VImage::recomb(VImage m, VOption *options) const
2984
+ {
2985
+ VImage out;
2986
+
2987
+ call("recomb", (options ? options : VImage::option())
2988
+ ->set("in", *this)
2989
+ ->set("out", &out)
2990
+ ->set("m", m));
2991
+
2992
+ return out;
2993
+ }
2994
+
2995
+ VImage
2996
+ VImage::reduce(double hshrink, double vshrink, VOption *options) const
2997
+ {
2998
+ VImage out;
2999
+
3000
+ call("reduce", (options ? options : VImage::option())
3001
+ ->set("in", *this)
3002
+ ->set("out", &out)
3003
+ ->set("hshrink", hshrink)
3004
+ ->set("vshrink", vshrink));
3005
+
3006
+ return out;
3007
+ }
3008
+
3009
+ VImage
3010
+ VImage::reduceh(double hshrink, VOption *options) const
3011
+ {
3012
+ VImage out;
3013
+
3014
+ call("reduceh", (options ? options : VImage::option())
3015
+ ->set("in", *this)
3016
+ ->set("out", &out)
3017
+ ->set("hshrink", hshrink));
3018
+
3019
+ return out;
3020
+ }
3021
+
3022
+ VImage
3023
+ VImage::reducev(double vshrink, VOption *options) const
3024
+ {
3025
+ VImage out;
3026
+
3027
+ call("reducev", (options ? options : VImage::option())
3028
+ ->set("in", *this)
3029
+ ->set("out", &out)
3030
+ ->set("vshrink", vshrink));
3031
+
3032
+ return out;
3033
+ }
3034
+
3035
+ VImage
3036
+ VImage::relational(VImage right, VipsOperationRelational relational, VOption *options) const
3037
+ {
3038
+ VImage out;
3039
+
3040
+ call("relational", (options ? options : VImage::option())
3041
+ ->set("left", *this)
3042
+ ->set("out", &out)
3043
+ ->set("right", right)
3044
+ ->set("relational", relational));
3045
+
3046
+ return out;
3047
+ }
3048
+
3049
+ VImage
3050
+ VImage::relational_const(VipsOperationRelational relational, std::vector<double> c, VOption *options) const
3051
+ {
3052
+ VImage out;
3053
+
3054
+ call("relational_const", (options ? options : VImage::option())
3055
+ ->set("in", *this)
3056
+ ->set("out", &out)
3057
+ ->set("relational", relational)
3058
+ ->set("c", c));
3059
+
3060
+ return out;
3061
+ }
3062
+
3063
+ VImage
3064
+ VImage::remainder(VImage right, VOption *options) const
3065
+ {
3066
+ VImage out;
3067
+
3068
+ call("remainder", (options ? options : VImage::option())
3069
+ ->set("left", *this)
3070
+ ->set("out", &out)
3071
+ ->set("right", right));
3072
+
3073
+ return out;
3074
+ }
3075
+
3076
+ VImage
3077
+ VImage::remainder_const(std::vector<double> c, VOption *options) const
3078
+ {
3079
+ VImage out;
3080
+
3081
+ call("remainder_const", (options ? options : VImage::option())
3082
+ ->set("in", *this)
3083
+ ->set("out", &out)
3084
+ ->set("c", c));
3085
+
3086
+ return out;
3087
+ }
3088
+
3089
+ VImage
3090
+ VImage::remosaic(const char *old_str, const char *new_str, VOption *options) const
3091
+ {
3092
+ VImage out;
3093
+
3094
+ call("remosaic", (options ? options : VImage::option())
3095
+ ->set("in", *this)
3096
+ ->set("out", &out)
3097
+ ->set("old_str", old_str)
3098
+ ->set("new_str", new_str));
3099
+
3100
+ return out;
3101
+ }
3102
+
3103
+ VImage
3104
+ VImage::replicate(int across, int down, VOption *options) const
3105
+ {
3106
+ VImage out;
3107
+
3108
+ call("replicate", (options ? options : VImage::option())
3109
+ ->set("in", *this)
3110
+ ->set("out", &out)
3111
+ ->set("across", across)
3112
+ ->set("down", down));
3113
+
3114
+ return out;
3115
+ }
3116
+
3117
+ VImage
3118
+ VImage::resize(double scale, VOption *options) const
3119
+ {
3120
+ VImage out;
3121
+
3122
+ call("resize", (options ? options : VImage::option())
3123
+ ->set("in", *this)
3124
+ ->set("out", &out)
3125
+ ->set("scale", scale));
3126
+
3127
+ return out;
3128
+ }
3129
+
3130
+ VImage
3131
+ VImage::rot(VipsAngle angle, VOption *options) const
3132
+ {
3133
+ VImage out;
3134
+
3135
+ call("rot", (options ? options : VImage::option())
3136
+ ->set("in", *this)
3137
+ ->set("out", &out)
3138
+ ->set("angle", angle));
3139
+
3140
+ return out;
3141
+ }
3142
+
3143
+ VImage
3144
+ VImage::rot45(VOption *options) const
3145
+ {
3146
+ VImage out;
3147
+
3148
+ call("rot45", (options ? options : VImage::option())
3149
+ ->set("in", *this)
3150
+ ->set("out", &out));
3151
+
3152
+ return out;
3153
+ }
3154
+
3155
+ VImage
3156
+ VImage::rotate(double angle, VOption *options) const
3157
+ {
3158
+ VImage out;
3159
+
3160
+ call("rotate", (options ? options : VImage::option())
3161
+ ->set("in", *this)
3162
+ ->set("out", &out)
3163
+ ->set("angle", angle));
3164
+
3165
+ return out;
3166
+ }
3167
+
3168
+ VImage
3169
+ VImage::round(VipsOperationRound round, VOption *options) const
3170
+ {
3171
+ VImage out;
3172
+
3173
+ call("round", (options ? options : VImage::option())
3174
+ ->set("in", *this)
3175
+ ->set("out", &out)
3176
+ ->set("round", round));
3177
+
3178
+ return out;
3179
+ }
3180
+
3181
+ VImage
3182
+ VImage::sRGB2HSV(VOption *options) const
3183
+ {
3184
+ VImage out;
3185
+
3186
+ call("sRGB2HSV", (options ? options : VImage::option())
3187
+ ->set("in", *this)
3188
+ ->set("out", &out));
3189
+
3190
+ return out;
3191
+ }
3192
+
3193
+ VImage
3194
+ VImage::sRGB2scRGB(VOption *options) const
3195
+ {
3196
+ VImage out;
3197
+
3198
+ call("sRGB2scRGB", (options ? options : VImage::option())
3199
+ ->set("in", *this)
3200
+ ->set("out", &out));
3201
+
3202
+ return out;
3203
+ }
3204
+
3205
+ VImage
3206
+ VImage::scRGB2BW(VOption *options) const
3207
+ {
3208
+ VImage out;
3209
+
3210
+ call("scRGB2BW", (options ? options : VImage::option())
3211
+ ->set("in", *this)
3212
+ ->set("out", &out));
3213
+
3214
+ return out;
3215
+ }
3216
+
3217
+ VImage
3218
+ VImage::scRGB2XYZ(VOption *options) const
3219
+ {
3220
+ VImage out;
3221
+
3222
+ call("scRGB2XYZ", (options ? options : VImage::option())
3223
+ ->set("in", *this)
3224
+ ->set("out", &out));
3225
+
3226
+ return out;
3227
+ }
3228
+
3229
+ VImage
3230
+ VImage::scRGB2sRGB(VOption *options) const
3231
+ {
3232
+ VImage out;
3233
+
3234
+ call("scRGB2sRGB", (options ? options : VImage::option())
3235
+ ->set("in", *this)
3236
+ ->set("out", &out));
3237
+
3238
+ return out;
3239
+ }
3240
+
3241
+ VImage
3242
+ VImage::scale(VOption *options) const
3243
+ {
3244
+ VImage out;
3245
+
3246
+ call("scale", (options ? options : VImage::option())
3247
+ ->set("in", *this)
3248
+ ->set("out", &out));
3249
+
3250
+ return out;
3251
+ }
3252
+
3253
+ VImage
3254
+ VImage::scharr(VOption *options) const
3255
+ {
3256
+ VImage out;
3257
+
3258
+ call("scharr", (options ? options : VImage::option())
3259
+ ->set("in", *this)
3260
+ ->set("out", &out));
3261
+
3262
+ return out;
3263
+ }
3264
+
3265
+ VImage
3266
+ VImage::sdf(int width, int height, VipsSdfShape shape, VOption *options)
3267
+ {
3268
+ VImage out;
3269
+
3270
+ call("sdf", (options ? options : VImage::option())
3271
+ ->set("out", &out)
3272
+ ->set("width", width)
3273
+ ->set("height", height)
3274
+ ->set("shape", shape));
3275
+
3276
+ return out;
3277
+ }
3278
+
3279
+ VImage
3280
+ VImage::sequential(VOption *options) const
3281
+ {
3282
+ VImage out;
3283
+
3284
+ call("sequential", (options ? options : VImage::option())
3285
+ ->set("in", *this)
3286
+ ->set("out", &out));
3287
+
3288
+ return out;
3289
+ }
3290
+
3291
+ VImage
3292
+ VImage::sharpen(VOption *options) const
3293
+ {
3294
+ VImage out;
3295
+
3296
+ call("sharpen", (options ? options : VImage::option())
3297
+ ->set("in", *this)
3298
+ ->set("out", &out));
3299
+
3300
+ return out;
3301
+ }
3302
+
3303
+ VImage
3304
+ VImage::shrink(double hshrink, double vshrink, VOption *options) const
3305
+ {
3306
+ VImage out;
3307
+
3308
+ call("shrink", (options ? options : VImage::option())
3309
+ ->set("in", *this)
3310
+ ->set("out", &out)
3311
+ ->set("hshrink", hshrink)
3312
+ ->set("vshrink", vshrink));
3313
+
3314
+ return out;
3315
+ }
3316
+
3317
+ VImage
3318
+ VImage::shrinkh(int hshrink, VOption *options) const
3319
+ {
3320
+ VImage out;
3321
+
3322
+ call("shrinkh", (options ? options : VImage::option())
3323
+ ->set("in", *this)
3324
+ ->set("out", &out)
3325
+ ->set("hshrink", hshrink));
3326
+
3327
+ return out;
3328
+ }
3329
+
3330
+ VImage
3331
+ VImage::shrinkv(int vshrink, VOption *options) const
3332
+ {
3333
+ VImage out;
3334
+
3335
+ call("shrinkv", (options ? options : VImage::option())
3336
+ ->set("in", *this)
3337
+ ->set("out", &out)
3338
+ ->set("vshrink", vshrink));
3339
+
3340
+ return out;
3341
+ }
3342
+
3343
+ VImage
3344
+ VImage::sign(VOption *options) const
3345
+ {
3346
+ VImage out;
3347
+
3348
+ call("sign", (options ? options : VImage::option())
3349
+ ->set("in", *this)
3350
+ ->set("out", &out));
3351
+
3352
+ return out;
3353
+ }
3354
+
3355
+ VImage
3356
+ VImage::similarity(VOption *options) const
3357
+ {
3358
+ VImage out;
3359
+
3360
+ call("similarity", (options ? options : VImage::option())
3361
+ ->set("in", *this)
3362
+ ->set("out", &out));
3363
+
3364
+ return out;
3365
+ }
3366
+
3367
+ VImage
3368
+ VImage::sines(int width, int height, VOption *options)
3369
+ {
3370
+ VImage out;
3371
+
3372
+ call("sines", (options ? options : VImage::option())
3373
+ ->set("out", &out)
3374
+ ->set("width", width)
3375
+ ->set("height", height));
3376
+
3377
+ return out;
3378
+ }
3379
+
3380
+ VImage
3381
+ VImage::smartcrop(int width, int height, VOption *options) const
3382
+ {
3383
+ VImage out;
3384
+
3385
+ call("smartcrop", (options ? options : VImage::option())
3386
+ ->set("input", *this)
3387
+ ->set("out", &out)
3388
+ ->set("width", width)
3389
+ ->set("height", height));
3390
+
3391
+ return out;
3392
+ }
3393
+
3394
+ VImage
3395
+ VImage::sobel(VOption *options) const
3396
+ {
3397
+ VImage out;
3398
+
3399
+ call("sobel", (options ? options : VImage::option())
3400
+ ->set("in", *this)
3401
+ ->set("out", &out));
3402
+
3403
+ return out;
3404
+ }
3405
+
3406
+ VImage
3407
+ VImage::spcor(VImage ref, VOption *options) const
3408
+ {
3409
+ VImage out;
3410
+
3411
+ call("spcor", (options ? options : VImage::option())
3412
+ ->set("in", *this)
3413
+ ->set("out", &out)
3414
+ ->set("ref", ref));
3415
+
3416
+ return out;
3417
+ }
3418
+
3419
+ VImage
3420
+ VImage::spectrum(VOption *options) const
3421
+ {
3422
+ VImage out;
3423
+
3424
+ call("spectrum", (options ? options : VImage::option())
3425
+ ->set("in", *this)
3426
+ ->set("out", &out));
3427
+
3428
+ return out;
3429
+ }
3430
+
3431
+ VImage
3432
+ VImage::stats(VOption *options) const
3433
+ {
3434
+ VImage out;
3435
+
3436
+ call("stats", (options ? options : VImage::option())
3437
+ ->set("in", *this)
3438
+ ->set("out", &out));
3439
+
3440
+ return out;
3441
+ }
3442
+
3443
+ VImage
3444
+ VImage::stdif(int width, int height, VOption *options) const
3445
+ {
3446
+ VImage out;
3447
+
3448
+ call("stdif", (options ? options : VImage::option())
3449
+ ->set("in", *this)
3450
+ ->set("out", &out)
3451
+ ->set("width", width)
3452
+ ->set("height", height));
3453
+
3454
+ return out;
3455
+ }
3456
+
3457
+ VImage
3458
+ VImage::subsample(int xfac, int yfac, VOption *options) const
3459
+ {
3460
+ VImage out;
3461
+
3462
+ call("subsample", (options ? options : VImage::option())
3463
+ ->set("input", *this)
3464
+ ->set("out", &out)
3465
+ ->set("xfac", xfac)
3466
+ ->set("yfac", yfac));
3467
+
3468
+ return out;
3469
+ }
3470
+
3471
+ VImage
3472
+ VImage::subtract(VImage right, VOption *options) const
3473
+ {
3474
+ VImage out;
3475
+
3476
+ call("subtract", (options ? options : VImage::option())
3477
+ ->set("left", *this)
3478
+ ->set("out", &out)
3479
+ ->set("right", right));
3480
+
3481
+ return out;
3482
+ }
3483
+
3484
+ VImage
3485
+ VImage::sum(std::vector<VImage> in, VOption *options)
3486
+ {
3487
+ VImage out;
3488
+
3489
+ call("sum", (options ? options : VImage::option())
3490
+ ->set("out", &out)
3491
+ ->set("in", in));
3492
+
3493
+ return out;
3494
+ }
3495
+
3496
+ VImage
3497
+ VImage::svgload(const char *filename, VOption *options)
3498
+ {
3499
+ VImage out;
3500
+
3501
+ call("svgload", (options ? options : VImage::option())
3502
+ ->set("out", &out)
3503
+ ->set("filename", filename));
3504
+
3505
+ return out;
3506
+ }
3507
+
3508
+ VImage
3509
+ VImage::svgload_buffer(VipsBlob *buffer, VOption *options)
3510
+ {
3511
+ VImage out;
3512
+
3513
+ call("svgload_buffer", (options ? options : VImage::option())
3514
+ ->set("out", &out)
3515
+ ->set("buffer", buffer));
3516
+
3517
+ return out;
3518
+ }
3519
+
3520
+ VImage
3521
+ VImage::svgload_source(VSource source, VOption *options)
3522
+ {
3523
+ VImage out;
3524
+
3525
+ call("svgload_source", (options ? options : VImage::option())
3526
+ ->set("out", &out)
3527
+ ->set("source", source));
3528
+
3529
+ return out;
3530
+ }
3531
+
3532
+ VImage
3533
+ VImage::switch_image(std::vector<VImage> tests, VOption *options)
3534
+ {
3535
+ VImage out;
3536
+
3537
+ call("switch", (options ? options : VImage::option())
3538
+ ->set("out", &out)
3539
+ ->set("tests", tests));
3540
+
3541
+ return out;
3542
+ }
3543
+
3544
+ void
3545
+ VImage::system(const char *cmd_format, VOption *options)
3546
+ {
3547
+ call("system", (options ? options : VImage::option())
3548
+ ->set("cmd_format", cmd_format));
3549
+ }
3550
+
3551
+ VImage
3552
+ VImage::text(const char *text, VOption *options)
3553
+ {
3554
+ VImage out;
3555
+
3556
+ call("text", (options ? options : VImage::option())
3557
+ ->set("out", &out)
3558
+ ->set("text", text));
3559
+
3560
+ return out;
3561
+ }
3562
+
3563
+ VImage
3564
+ VImage::thumbnail(const char *filename, int width, VOption *options)
3565
+ {
3566
+ VImage out;
3567
+
3568
+ call("thumbnail", (options ? options : VImage::option())
3569
+ ->set("out", &out)
3570
+ ->set("filename", filename)
3571
+ ->set("width", width));
3572
+
3573
+ return out;
3574
+ }
3575
+
3576
+ VImage
3577
+ VImage::thumbnail_buffer(VipsBlob *buffer, int width, VOption *options)
3578
+ {
3579
+ VImage out;
3580
+
3581
+ call("thumbnail_buffer", (options ? options : VImage::option())
3582
+ ->set("out", &out)
3583
+ ->set("buffer", buffer)
3584
+ ->set("width", width));
3585
+
3586
+ return out;
3587
+ }
3588
+
3589
+ VImage
3590
+ VImage::thumbnail_image(int width, VOption *options) const
3591
+ {
3592
+ VImage out;
3593
+
3594
+ call("thumbnail_image", (options ? options : VImage::option())
3595
+ ->set("in", *this)
3596
+ ->set("out", &out)
3597
+ ->set("width", width));
3598
+
3599
+ return out;
3600
+ }
3601
+
3602
+ VImage
3603
+ VImage::thumbnail_source(VSource source, int width, VOption *options)
3604
+ {
3605
+ VImage out;
3606
+
3607
+ call("thumbnail_source", (options ? options : VImage::option())
3608
+ ->set("out", &out)
3609
+ ->set("source", source)
3610
+ ->set("width", width));
3611
+
3612
+ return out;
3613
+ }
3614
+
3615
+ VImage
3616
+ VImage::tiffload(const char *filename, VOption *options)
3617
+ {
3618
+ VImage out;
3619
+
3620
+ call("tiffload", (options ? options : VImage::option())
3621
+ ->set("out", &out)
3622
+ ->set("filename", filename));
3623
+
3624
+ return out;
3625
+ }
3626
+
3627
+ VImage
3628
+ VImage::tiffload_buffer(VipsBlob *buffer, VOption *options)
3629
+ {
3630
+ VImage out;
3631
+
3632
+ call("tiffload_buffer", (options ? options : VImage::option())
3633
+ ->set("out", &out)
3634
+ ->set("buffer", buffer));
3635
+
3636
+ return out;
3637
+ }
3638
+
3639
+ VImage
3640
+ VImage::tiffload_source(VSource source, VOption *options)
3641
+ {
3642
+ VImage out;
3643
+
3644
+ call("tiffload_source", (options ? options : VImage::option())
3645
+ ->set("out", &out)
3646
+ ->set("source", source));
3647
+
3648
+ return out;
3649
+ }
3650
+
3651
+ void
3652
+ VImage::tiffsave(const char *filename, VOption *options) const
3653
+ {
3654
+ call("tiffsave", (options ? options : VImage::option())
3655
+ ->set("in", *this)
3656
+ ->set("filename", filename));
3657
+ }
3658
+
3659
+ VipsBlob *
3660
+ VImage::tiffsave_buffer(VOption *options) const
3661
+ {
3662
+ VipsBlob *buffer;
3663
+
3664
+ call("tiffsave_buffer", (options ? options : VImage::option())
3665
+ ->set("in", *this)
3666
+ ->set("buffer", &buffer));
3667
+
3668
+ return buffer;
3669
+ }
3670
+
3671
+ void
3672
+ VImage::tiffsave_target(VTarget target, VOption *options) const
3673
+ {
3674
+ call("tiffsave_target", (options ? options : VImage::option())
3675
+ ->set("in", *this)
3676
+ ->set("target", target));
3677
+ }
3678
+
3679
+ VImage
3680
+ VImage::tilecache(VOption *options) const
3681
+ {
3682
+ VImage out;
3683
+
3684
+ call("tilecache", (options ? options : VImage::option())
3685
+ ->set("in", *this)
3686
+ ->set("out", &out));
3687
+
3688
+ return out;
3689
+ }
3690
+
3691
+ VImage
3692
+ VImage::tonelut(VOption *options)
3693
+ {
3694
+ VImage out;
3695
+
3696
+ call("tonelut", (options ? options : VImage::option())
3697
+ ->set("out", &out));
3698
+
3699
+ return out;
3700
+ }
3701
+
3702
+ VImage
3703
+ VImage::transpose3d(VOption *options) const
3704
+ {
3705
+ VImage out;
3706
+
3707
+ call("transpose3d", (options ? options : VImage::option())
3708
+ ->set("in", *this)
3709
+ ->set("out", &out));
3710
+
3711
+ return out;
3712
+ }
3713
+
3714
+ VImage
3715
+ VImage::unpremultiply(VOption *options) const
3716
+ {
3717
+ VImage out;
3718
+
3719
+ call("unpremultiply", (options ? options : VImage::option())
3720
+ ->set("in", *this)
3721
+ ->set("out", &out));
3722
+
3723
+ return out;
3724
+ }
3725
+
3726
+ VImage
3727
+ VImage::vipsload(const char *filename, VOption *options)
3728
+ {
3729
+ VImage out;
3730
+
3731
+ call("vipsload", (options ? options : VImage::option())
3732
+ ->set("out", &out)
3733
+ ->set("filename", filename));
3734
+
3735
+ return out;
3736
+ }
3737
+
3738
+ VImage
3739
+ VImage::vipsload_source(VSource source, VOption *options)
3740
+ {
3741
+ VImage out;
3742
+
3743
+ call("vipsload_source", (options ? options : VImage::option())
3744
+ ->set("out", &out)
3745
+ ->set("source", source));
3746
+
3747
+ return out;
3748
+ }
3749
+
3750
+ void
3751
+ VImage::vipssave(const char *filename, VOption *options) const
3752
+ {
3753
+ call("vipssave", (options ? options : VImage::option())
3754
+ ->set("in", *this)
3755
+ ->set("filename", filename));
3756
+ }
3757
+
3758
+ void
3759
+ VImage::vipssave_target(VTarget target, VOption *options) const
3760
+ {
3761
+ call("vipssave_target", (options ? options : VImage::option())
3762
+ ->set("in", *this)
3763
+ ->set("target", target));
3764
+ }
3765
+
3766
+ VImage
3767
+ VImage::webpload(const char *filename, VOption *options)
3768
+ {
3769
+ VImage out;
3770
+
3771
+ call("webpload", (options ? options : VImage::option())
3772
+ ->set("out", &out)
3773
+ ->set("filename", filename));
3774
+
3775
+ return out;
3776
+ }
3777
+
3778
+ VImage
3779
+ VImage::webpload_buffer(VipsBlob *buffer, VOption *options)
3780
+ {
3781
+ VImage out;
3782
+
3783
+ call("webpload_buffer", (options ? options : VImage::option())
3784
+ ->set("out", &out)
3785
+ ->set("buffer", buffer));
3786
+
3787
+ return out;
3788
+ }
3789
+
3790
+ VImage
3791
+ VImage::webpload_source(VSource source, VOption *options)
3792
+ {
3793
+ VImage out;
3794
+
3795
+ call("webpload_source", (options ? options : VImage::option())
3796
+ ->set("out", &out)
3797
+ ->set("source", source));
3798
+
3799
+ return out;
3800
+ }
3801
+
3802
+ void
3803
+ VImage::webpsave(const char *filename, VOption *options) const
3804
+ {
3805
+ call("webpsave", (options ? options : VImage::option())
3806
+ ->set("in", *this)
3807
+ ->set("filename", filename));
3808
+ }
3809
+
3810
+ VipsBlob *
3811
+ VImage::webpsave_buffer(VOption *options) const
3812
+ {
3813
+ VipsBlob *buffer;
3814
+
3815
+ call("webpsave_buffer", (options ? options : VImage::option())
3816
+ ->set("in", *this)
3817
+ ->set("buffer", &buffer));
3818
+
3819
+ return buffer;
3820
+ }
3821
+
3822
+ void
3823
+ VImage::webpsave_mime(VOption *options) const
3824
+ {
3825
+ call("webpsave_mime", (options ? options : VImage::option())
3826
+ ->set("in", *this));
3827
+ }
3828
+
3829
+ void
3830
+ VImage::webpsave_target(VTarget target, VOption *options) const
3831
+ {
3832
+ call("webpsave_target", (options ? options : VImage::option())
3833
+ ->set("in", *this)
3834
+ ->set("target", target));
3835
+ }
3836
+
3837
+ VImage
3838
+ VImage::worley(int width, int height, VOption *options)
3839
+ {
3840
+ VImage out;
3841
+
3842
+ call("worley", (options ? options : VImage::option())
3843
+ ->set("out", &out)
3844
+ ->set("width", width)
3845
+ ->set("height", height));
3846
+
3847
+ return out;
3848
+ }
3849
+
3850
+ VImage
3851
+ VImage::wrap(VOption *options) const
3852
+ {
3853
+ VImage out;
3854
+
3855
+ call("wrap", (options ? options : VImage::option())
3856
+ ->set("in", *this)
3857
+ ->set("out", &out));
3858
+
3859
+ return out;
3860
+ }
3861
+
3862
+ VImage
3863
+ VImage::xyz(int width, int height, VOption *options)
3864
+ {
3865
+ VImage out;
3866
+
3867
+ call("xyz", (options ? options : VImage::option())
3868
+ ->set("out", &out)
3869
+ ->set("width", width)
3870
+ ->set("height", height));
3871
+
3872
+ return out;
3873
+ }
3874
+
3875
+ VImage
3876
+ VImage::zone(int width, int height, VOption *options)
3877
+ {
3878
+ VImage out;
3879
+
3880
+ call("zone", (options ? options : VImage::option())
3881
+ ->set("out", &out)
3882
+ ->set("width", width)
3883
+ ->set("height", height));
3884
+
3885
+ return out;
3886
+ }
3887
+
3888
+ VImage
3889
+ VImage::zoom(int xfac, int yfac, VOption *options) const
3890
+ {
3891
+ VImage out;
3892
+
3893
+ call("zoom", (options ? options : VImage::option())
3894
+ ->set("input", *this)
3895
+ ->set("out", &out)
3896
+ ->set("xfac", xfac)
3897
+ ->set("yfac", yfac));
3898
+
3899
+ return out;
3900
+ }