wasm-vips 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/vips.d.ts CHANGED
@@ -576,6 +576,10 @@ declare module Vips {
576
576
  * loaders are permissive, that is, [[FailOn.none]].
577
577
  */
578
578
  fail_on?: FailOn | Enum
579
+ /**
580
+ * Don't use a cached result for this operation.
581
+ */
582
+ revalidate?: boolean
579
583
  }): Image;
580
584
 
581
585
  /**
@@ -641,6 +645,10 @@ declare module Vips {
641
645
  * loaders are permissive, that is, [[FailOn.none]].
642
646
  */
643
647
  fail_on?: FailOn | Enum
648
+ /**
649
+ * Don't use a cached result for this operation.
650
+ */
651
+ revalidate?: boolean
644
652
  }): Image;
645
653
 
646
654
  /**
@@ -663,6 +671,10 @@ declare module Vips {
663
671
  * loaders are permissive, that is, [[FailOn.none]].
664
672
  */
665
673
  fail_on?: FailOn | Enum
674
+ /**
675
+ * Don't use a cached result for this operation.
676
+ */
677
+ revalidate?: boolean
666
678
  }): Image;
667
679
 
668
680
  /**
@@ -966,6 +978,10 @@ declare module Vips {
966
978
  * Color for background pixels.
967
979
  */
968
980
  background?: ArrayConstant
981
+ /**
982
+ * Enable line art mode.
983
+ */
984
+ line_art?: boolean
969
985
  }): {
970
986
  /**
971
987
  * Output left edge.
@@ -1722,30 +1738,28 @@ declare module Vips {
1722
1738
  }
1723
1739
 
1724
1740
  /**
1725
- * See vips_image_pipelinev(). Operations can hint to the VIPS image IO
1726
- * system about the kind of demand geometry they prefer.
1741
+ * See vips_image_pipelinev(). Operations can hint
1742
+ * the kind of demand geometry they prefer
1743
+ * to the VIPS image IO system.
1727
1744
  *
1728
1745
  * These demand styles are given below in order of increasing
1729
- * restrictiveness. When demanding output from a pipeline,
1746
+ * specialisation. When demanding output from a pipeline,
1730
1747
  * vips_image_generate()
1731
- * will use the most restrictive of the styles requested by the operations
1748
+ * will use the most general style requested by the operations
1732
1749
  * in the pipeline.
1733
1750
  *
1734
- * #VIPS_DEMAND_STYLE_THINSTRIP --- This operation would like to output strips
1735
- * the width of the image and a few pels high. This is option suitable for
1736
- * point-to-point operations, such as those in the arithmetic package.
1737
- *
1738
- * This option is only efficient for cases where each output pel depends
1739
- * upon the pel in the corresponding position in the input image.
1751
+ * #VIPS_DEMAND_STYLE_SMALLTILE --- This is the most general demand format.
1752
+ * Output is demanded in small (around 100x100 pel) sections. This style works
1753
+ * reasonably efficiently, even for bizarre operations like 45 degree rotate.
1740
1754
  *
1741
1755
  * #VIPS_DEMAND_STYLE_FATSTRIP --- This operation would like to output strips
1742
1756
  * the width of the image and as high as possible. This option is suitable
1743
1757
  * for area operations which do not violently transform coordinates, such
1744
1758
  * as vips_conv().
1745
1759
  *
1746
- * #VIPS_DEMAND_STYLE_SMALLTILE --- This is the most general demand format.
1747
- * Output is demanded in small (around 100x100 pel) sections. This style works
1748
- * reasonably efficiently, even for bizzare operations like 45 degree rotate.
1760
+ * #VIPS_DEMAND_STYLE_THINSTRIP --- This operation would like to output strips
1761
+ * the width of the image and a few pels high. This option is suitable for
1762
+ * point-to-point operations, such as those in the arithmetic package.
1749
1763
  *
1750
1764
  * #VIPS_DEMAND_STYLE_ANY --- This image is not being demand-read from a disc
1751
1765
  * file (even indirectly) so any demand style is OK. It's used for things like
@@ -1755,11 +1769,11 @@ declare module Vips {
1755
1769
  */
1756
1770
  enum DemandStyle {
1757
1771
  /**
1758
- * Demand in small (typically 64x64 pixel) tiles
1772
+ * Demand in small (typically 128x128 pixel) tiles
1759
1773
  */
1760
1774
  smalltile = 'smalltile',
1761
1775
  /**
1762
- * Demand in fat (typically 10 pixel high) strips
1776
+ * Demand in fat (typically 16 pixel high) strips
1763
1777
  */
1764
1778
  fatstrip = 'fatstrip',
1765
1779
  /**
@@ -1829,15 +1843,15 @@ declare module Vips {
1829
1843
  */
1830
1844
  enum OperationMath2 {
1831
1845
  /**
1832
- * Pow( left, right )
1846
+ * Pow(left, right)
1833
1847
  */
1834
1848
  pow = 'pow',
1835
1849
  /**
1836
- * Pow( right, left )
1850
+ * Pow(right, left)
1837
1851
  */
1838
1852
  wop = 'wop',
1839
1853
  /**
1840
- * Atan2( left, right )
1854
+ * Atan2(left, right)
1841
1855
  */
1842
1856
  atan2 = 'atan2'
1843
1857
  }
@@ -2768,6 +2782,40 @@ declare module Vips {
2768
2782
  add = 'add'
2769
2783
  }
2770
2784
 
2785
+ /**
2786
+ * Which metadata to retain.
2787
+ */
2788
+ enum ForeignKeep {
2789
+ /**
2790
+ * Don't attach metadata
2791
+ */
2792
+ none = 'none',
2793
+ /**
2794
+ * Keep Exif metadata
2795
+ */
2796
+ exif = 'exif',
2797
+ /**
2798
+ * Keep XMP metadata
2799
+ */
2800
+ xmp = 'xmp',
2801
+ /**
2802
+ * Keep IPTC metadata
2803
+ */
2804
+ iptc = 'iptc',
2805
+ /**
2806
+ * Keep ICC metadata
2807
+ */
2808
+ icc = 'icc',
2809
+ /**
2810
+ * Keep other metadata (e.g. PNG comments and some TIFF tags)
2811
+ */
2812
+ other = 'other',
2813
+ /**
2814
+ * Keep all metadata
2815
+ */
2816
+ all = 'all'
2817
+ }
2818
+
2771
2819
  /**
2772
2820
  * http://www.w3.org/TR/PNG-Filters.html
2773
2821
  * The values mirror those of png.h in libpng.
@@ -2825,6 +2873,10 @@ declare module Vips {
2825
2873
  * Error level to fail on.
2826
2874
  */
2827
2875
  fail_on?: FailOn | Enum
2876
+ /**
2877
+ * Don't use a cached result for this operation.
2878
+ */
2879
+ revalidate?: boolean
2828
2880
  /**
2829
2881
  * Flags for this file (output).
2830
2882
  */
@@ -2937,6 +2989,10 @@ declare module Vips {
2937
2989
  * Error level to fail on.
2938
2990
  */
2939
2991
  fail_on?: FailOn | Enum
2992
+ /**
2993
+ * Don't use a cached result for this operation.
2994
+ */
2995
+ revalidate?: boolean
2940
2996
  /**
2941
2997
  * Flags for this file (output).
2942
2998
  */
@@ -2978,6 +3034,10 @@ declare module Vips {
2978
3034
  * Error level to fail on.
2979
3035
  */
2980
3036
  fail_on?: FailOn | Enum
3037
+ /**
3038
+ * Don't use a cached result for this operation.
3039
+ */
3040
+ revalidate?: boolean
2981
3041
  /**
2982
3042
  * Flags for this file (output).
2983
3043
  */
@@ -3021,6 +3081,10 @@ declare module Vips {
3021
3081
  * Error level to fail on.
3022
3082
  */
3023
3083
  fail_on?: FailOn | Enum
3084
+ /**
3085
+ * Don't use a cached result for this operation.
3086
+ */
3087
+ revalidate?: boolean
3024
3088
  /**
3025
3089
  * Flags for this file (output).
3026
3090
  */
@@ -3046,6 +3110,10 @@ declare module Vips {
3046
3110
  * Error level to fail on.
3047
3111
  */
3048
3112
  fail_on?: FailOn | Enum
3113
+ /**
3114
+ * Don't use a cached result for this operation.
3115
+ */
3116
+ revalidate?: boolean
3049
3117
  /**
3050
3118
  * Flags for this file (output).
3051
3119
  */
@@ -3128,6 +3196,10 @@ declare module Vips {
3128
3196
  * Error level to fail on.
3129
3197
  */
3130
3198
  fail_on?: FailOn | Enum
3199
+ /**
3200
+ * Don't use a cached result for this operation.
3201
+ */
3202
+ revalidate?: boolean
3131
3203
  /**
3132
3204
  * Flags for this file (output).
3133
3205
  */
@@ -3161,6 +3233,10 @@ declare module Vips {
3161
3233
  * Error level to fail on.
3162
3234
  */
3163
3235
  fail_on?: FailOn | Enum
3236
+ /**
3237
+ * Don't use a cached result for this operation.
3238
+ */
3239
+ revalidate?: boolean
3164
3240
  /**
3165
3241
  * Flags for this file (output).
3166
3242
  */
@@ -3194,6 +3270,10 @@ declare module Vips {
3194
3270
  * Error level to fail on.
3195
3271
  */
3196
3272
  fail_on?: FailOn | Enum
3273
+ /**
3274
+ * Don't use a cached result for this operation.
3275
+ */
3276
+ revalidate?: boolean
3197
3277
  /**
3198
3278
  * Flags for this file (output).
3199
3279
  */
@@ -3249,6 +3329,10 @@ declare module Vips {
3249
3329
  * Error level to fail on.
3250
3330
  */
3251
3331
  fail_on?: FailOn | Enum
3332
+ /**
3333
+ * Don't use a cached result for this operation.
3334
+ */
3335
+ revalidate?: boolean
3252
3336
  /**
3253
3337
  * Flags for this file (output).
3254
3338
  */
@@ -3290,6 +3374,10 @@ declare module Vips {
3290
3374
  * Error level to fail on.
3291
3375
  */
3292
3376
  fail_on?: FailOn | Enum
3377
+ /**
3378
+ * Don't use a cached result for this operation.
3379
+ */
3380
+ revalidate?: boolean
3293
3381
  /**
3294
3382
  * Flags for this file (output).
3295
3383
  */
@@ -3331,6 +3419,10 @@ declare module Vips {
3331
3419
  * Error level to fail on.
3332
3420
  */
3333
3421
  fail_on?: FailOn | Enum
3422
+ /**
3423
+ * Don't use a cached result for this operation.
3424
+ */
3425
+ revalidate?: boolean
3334
3426
  /**
3335
3427
  * Flags for this file (output).
3336
3428
  */
@@ -3380,6 +3472,10 @@ declare module Vips {
3380
3472
  * Error level to fail on.
3381
3473
  */
3382
3474
  fail_on?: FailOn | Enum
3475
+ /**
3476
+ * Don't use a cached result for this operation.
3477
+ */
3478
+ revalidate?: boolean
3383
3479
  /**
3384
3480
  * Flags for this file (output).
3385
3481
  */
@@ -3409,6 +3505,10 @@ declare module Vips {
3409
3505
  * Error level to fail on.
3410
3506
  */
3411
3507
  fail_on?: FailOn | Enum
3508
+ /**
3509
+ * Don't use a cached result for this operation.
3510
+ */
3511
+ revalidate?: boolean
3412
3512
  /**
3413
3513
  * Flags for this file (output).
3414
3514
  */
@@ -3438,6 +3538,10 @@ declare module Vips {
3438
3538
  * Error level to fail on.
3439
3539
  */
3440
3540
  fail_on?: FailOn | Enum
3541
+ /**
3542
+ * Don't use a cached result for this operation.
3543
+ */
3544
+ revalidate?: boolean
3441
3545
  /**
3442
3546
  * Flags for this file (output).
3443
3547
  */
@@ -3475,6 +3579,10 @@ declare module Vips {
3475
3579
  * Error level to fail on.
3476
3580
  */
3477
3581
  fail_on?: FailOn | Enum
3582
+ /**
3583
+ * Don't use a cached result for this operation.
3584
+ */
3585
+ revalidate?: boolean
3478
3586
  /**
3479
3587
  * Flags for this file (output).
3480
3588
  */
@@ -3512,6 +3620,10 @@ declare module Vips {
3512
3620
  * Error level to fail on.
3513
3621
  */
3514
3622
  fail_on?: FailOn | Enum
3623
+ /**
3624
+ * Don't use a cached result for this operation.
3625
+ */
3626
+ revalidate?: boolean
3515
3627
  /**
3516
3628
  * Flags for this file (output).
3517
3629
  */
@@ -3549,6 +3661,10 @@ declare module Vips {
3549
3661
  * Error level to fail on.
3550
3662
  */
3551
3663
  fail_on?: FailOn | Enum
3664
+ /**
3665
+ * Don't use a cached result for this operation.
3666
+ */
3667
+ revalidate?: boolean
3552
3668
  /**
3553
3669
  * Flags for this file (output).
3554
3670
  */
@@ -3574,6 +3690,10 @@ declare module Vips {
3574
3690
  * Error level to fail on.
3575
3691
  */
3576
3692
  fail_on?: FailOn | Enum
3693
+ /**
3694
+ * Don't use a cached result for this operation.
3695
+ */
3696
+ revalidate?: boolean
3577
3697
  /**
3578
3698
  * Flags for this file (output).
3579
3699
  */
@@ -3599,6 +3719,10 @@ declare module Vips {
3599
3719
  * Error level to fail on.
3600
3720
  */
3601
3721
  fail_on?: FailOn | Enum
3722
+ /**
3723
+ * Don't use a cached result for this operation.
3724
+ */
3725
+ revalidate?: boolean
3602
3726
  /**
3603
3727
  * Flags for this file (output).
3604
3728
  */
@@ -3624,6 +3748,10 @@ declare module Vips {
3624
3748
  * Error level to fail on.
3625
3749
  */
3626
3750
  fail_on?: FailOn | Enum
3751
+ /**
3752
+ * Don't use a cached result for this operation.
3753
+ */
3754
+ revalidate?: boolean
3627
3755
  /**
3628
3756
  * Flags for this file (output).
3629
3757
  */
@@ -3679,6 +3807,10 @@ declare module Vips {
3679
3807
  * Error level to fail on.
3680
3808
  */
3681
3809
  fail_on?: FailOn | Enum
3810
+ /**
3811
+ * Don't use a cached result for this operation.
3812
+ */
3813
+ revalidate?: boolean
3682
3814
  /**
3683
3815
  * Flags for this file (output).
3684
3816
  */
@@ -3716,6 +3848,10 @@ declare module Vips {
3716
3848
  * Error level to fail on.
3717
3849
  */
3718
3850
  fail_on?: FailOn | Enum
3851
+ /**
3852
+ * Don't use a cached result for this operation.
3853
+ */
3854
+ revalidate?: boolean
3719
3855
  /**
3720
3856
  * Flags for this file (output).
3721
3857
  */
@@ -4029,6 +4165,10 @@ declare module Vips {
4029
4165
  * Error level to fail on.
4030
4166
  */
4031
4167
  fail_on?: FailOn | Enum
4168
+ /**
4169
+ * Don't use a cached result for this operation.
4170
+ */
4171
+ revalidate?: boolean
4032
4172
  /**
4033
4173
  * Flags for this file (output).
4034
4174
  */
@@ -4054,6 +4194,10 @@ declare module Vips {
4054
4194
  * Error level to fail on.
4055
4195
  */
4056
4196
  fail_on?: FailOn | Enum
4197
+ /**
4198
+ * Don't use a cached result for this operation.
4199
+ */
4200
+ revalidate?: boolean
4057
4201
  /**
4058
4202
  * Flags for this file (output).
4059
4203
  */
@@ -4079,6 +4223,10 @@ declare module Vips {
4079
4223
  * Error level to fail on.
4080
4224
  */
4081
4225
  fail_on?: FailOn | Enum
4226
+ /**
4227
+ * Don't use a cached result for this operation.
4228
+ */
4229
+ revalidate?: boolean
4082
4230
  /**
4083
4231
  * Flags for this file (output).
4084
4232
  */
@@ -4104,6 +4252,10 @@ declare module Vips {
4104
4252
  * Error level to fail on.
4105
4253
  */
4106
4254
  fail_on?: FailOn | Enum
4255
+ /**
4256
+ * Don't use a cached result for this operation.
4257
+ */
4258
+ revalidate?: boolean
4107
4259
  /**
4108
4260
  * Flags for this file (output).
4109
4261
  */
@@ -4129,6 +4281,10 @@ declare module Vips {
4129
4281
  * Error level to fail on.
4130
4282
  */
4131
4283
  fail_on?: FailOn | Enum
4284
+ /**
4285
+ * Don't use a cached result for this operation.
4286
+ */
4287
+ revalidate?: boolean
4132
4288
  /**
4133
4289
  * Flags for this file (output).
4134
4290
  */
@@ -4154,6 +4310,10 @@ declare module Vips {
4154
4310
  * Error level to fail on.
4155
4311
  */
4156
4312
  fail_on?: FailOn | Enum
4313
+ /**
4314
+ * Don't use a cached result for this operation.
4315
+ */
4316
+ revalidate?: boolean
4157
4317
  /**
4158
4318
  * Flags for this file (output).
4159
4319
  */
@@ -4199,6 +4359,10 @@ declare module Vips {
4199
4359
  * Error level to fail on.
4200
4360
  */
4201
4361
  fail_on?: FailOn | Enum
4362
+ /**
4363
+ * Don't use a cached result for this operation.
4364
+ */
4365
+ revalidate?: boolean
4202
4366
  /**
4203
4367
  * Flags for this file (output).
4204
4368
  */
@@ -4244,6 +4408,10 @@ declare module Vips {
4244
4408
  * Error level to fail on.
4245
4409
  */
4246
4410
  fail_on?: FailOn | Enum
4411
+ /**
4412
+ * Don't use a cached result for this operation.
4413
+ */
4414
+ revalidate?: boolean
4247
4415
  /**
4248
4416
  * Flags for this file (output).
4249
4417
  */
@@ -4293,6 +4461,10 @@ declare module Vips {
4293
4461
  * Error level to fail on.
4294
4462
  */
4295
4463
  fail_on?: FailOn | Enum
4464
+ /**
4465
+ * Don't use a cached result for this operation.
4466
+ */
4467
+ revalidate?: boolean
4296
4468
  /**
4297
4469
  * Flags for this file (output).
4298
4470
  */
@@ -4342,6 +4514,10 @@ declare module Vips {
4342
4514
  * Error level to fail on.
4343
4515
  */
4344
4516
  fail_on?: FailOn | Enum
4517
+ /**
4518
+ * Don't use a cached result for this operation.
4519
+ */
4520
+ revalidate?: boolean
4345
4521
  /**
4346
4522
  * Flags for this file (output).
4347
4523
  */
@@ -4391,6 +4567,10 @@ declare module Vips {
4391
4567
  * Error level to fail on.
4392
4568
  */
4393
4569
  fail_on?: FailOn | Enum
4570
+ /**
4571
+ * Don't use a cached result for this operation.
4572
+ */
4573
+ revalidate?: boolean
4394
4574
  /**
4395
4575
  * Flags for this file (output).
4396
4576
  */
@@ -4442,6 +4622,10 @@ declare module Vips {
4442
4622
  * Error level to fail on.
4443
4623
  */
4444
4624
  fail_on?: FailOn | Enum
4625
+ /**
4626
+ * Don't use a cached result for this operation.
4627
+ */
4628
+ revalidate?: boolean
4445
4629
  /**
4446
4630
  * Flags for this file (output).
4447
4631
  */
@@ -4471,6 +4655,10 @@ declare module Vips {
4471
4655
  * Error level to fail on.
4472
4656
  */
4473
4657
  fail_on?: FailOn | Enum
4658
+ /**
4659
+ * Don't use a cached result for this operation.
4660
+ */
4661
+ revalidate?: boolean
4474
4662
  /**
4475
4663
  * Flags for this file (output).
4476
4664
  */
@@ -4500,6 +4688,10 @@ declare module Vips {
4500
4688
  * Error level to fail on.
4501
4689
  */
4502
4690
  fail_on?: FailOn | Enum
4691
+ /**
4692
+ * Don't use a cached result for this operation.
4693
+ */
4694
+ revalidate?: boolean
4503
4695
  /**
4504
4696
  * Flags for this file (output).
4505
4697
  */
@@ -4525,6 +4717,10 @@ declare module Vips {
4525
4717
  * Error level to fail on.
4526
4718
  */
4527
4719
  fail_on?: FailOn | Enum
4720
+ /**
4721
+ * Don't use a cached result for this operation.
4722
+ */
4723
+ revalidate?: boolean
4528
4724
  /**
4529
4725
  * Flags for this file (output).
4530
4726
  */
@@ -4550,6 +4746,10 @@ declare module Vips {
4550
4746
  * Error level to fail on.
4551
4747
  */
4552
4748
  fail_on?: FailOn | Enum
4749
+ /**
4750
+ * Don't use a cached result for this operation.
4751
+ */
4752
+ revalidate?: boolean
4553
4753
  /**
4554
4754
  * Flags for this file (output).
4555
4755
  */
@@ -4582,6 +4782,10 @@ declare module Vips {
4582
4782
  * Error level to fail on.
4583
4783
  */
4584
4784
  fail_on?: FailOn | Enum
4785
+ /**
4786
+ * Don't use a cached result for this operation.
4787
+ */
4788
+ revalidate?: boolean
4585
4789
  /**
4586
4790
  * Flags for this file (output).
4587
4791
  */
@@ -4607,6 +4811,10 @@ declare module Vips {
4607
4811
  * Error level to fail on.
4608
4812
  */
4609
4813
  fail_on?: FailOn | Enum
4814
+ /**
4815
+ * Don't use a cached result for this operation.
4816
+ */
4817
+ revalidate?: boolean
4610
4818
  /**
4611
4819
  * Flags for this file (output).
4612
4820
  */
@@ -4632,6 +4840,10 @@ declare module Vips {
4632
4840
  * Error level to fail on.
4633
4841
  */
4634
4842
  fail_on?: FailOn | Enum
4843
+ /**
4844
+ * Don't use a cached result for this operation.
4845
+ */
4846
+ revalidate?: boolean
4635
4847
  /**
4636
4848
  * Flags for this file (output).
4637
4849
  */
@@ -4672,6 +4884,10 @@ declare module Vips {
4672
4884
  * Error level to fail on.
4673
4885
  */
4674
4886
  fail_on?: FailOn | Enum
4887
+ /**
4888
+ * Don't use a cached result for this operation.
4889
+ */
4890
+ revalidate?: boolean
4675
4891
  /**
4676
4892
  * Flags for this file (output).
4677
4893
  */
@@ -4738,6 +4954,10 @@ declare module Vips {
4738
4954
  * Error level to fail on.
4739
4955
  */
4740
4956
  fail_on?: FailOn | Enum
4957
+ /**
4958
+ * Don't use a cached result for this operation.
4959
+ */
4960
+ revalidate?: boolean
4741
4961
  /**
4742
4962
  * Flags for this file (output).
4743
4963
  */
@@ -4775,6 +4995,10 @@ declare module Vips {
4775
4995
  * Error level to fail on.
4776
4996
  */
4777
4997
  fail_on?: FailOn | Enum
4998
+ /**
4999
+ * Don't use a cached result for this operation.
5000
+ */
5001
+ revalidate?: boolean
4778
5002
  /**
4779
5003
  * Flags for this file (output).
4780
5004
  */
@@ -4812,6 +5036,10 @@ declare module Vips {
4812
5036
  * Error level to fail on.
4813
5037
  */
4814
5038
  fail_on?: FailOn | Enum
5039
+ /**
5040
+ * Don't use a cached result for this operation.
5041
+ */
5042
+ revalidate?: boolean
4815
5043
  /**
4816
5044
  * Flags for this file (output).
4817
5045
  */
@@ -5087,6 +5315,10 @@ declare module Vips {
5087
5315
  * Error level to fail on.
5088
5316
  */
5089
5317
  fail_on?: FailOn | Enum
5318
+ /**
5319
+ * Don't use a cached result for this operation.
5320
+ */
5321
+ revalidate?: boolean
5090
5322
  /**
5091
5323
  * Flags for this file (output).
5092
5324
  */
@@ -5128,6 +5360,10 @@ declare module Vips {
5128
5360
  * Error level to fail on.
5129
5361
  */
5130
5362
  fail_on?: FailOn | Enum
5363
+ /**
5364
+ * Don't use a cached result for this operation.
5365
+ */
5366
+ revalidate?: boolean
5131
5367
  /**
5132
5368
  * Flags for this file (output).
5133
5369
  */
@@ -5169,6 +5405,10 @@ declare module Vips {
5169
5405
  * Error level to fail on.
5170
5406
  */
5171
5407
  fail_on?: FailOn | Enum
5408
+ /**
5409
+ * Don't use a cached result for this operation.
5410
+ */
5411
+ revalidate?: boolean
5172
5412
  /**
5173
5413
  * Flags for this file (output).
5174
5414
  */
@@ -5242,6 +5482,10 @@ declare module Vips {
5242
5482
  * Error level to fail on.
5243
5483
  */
5244
5484
  fail_on?: FailOn | Enum
5485
+ /**
5486
+ * Don't use a cached result for this operation.
5487
+ */
5488
+ revalidate?: boolean
5245
5489
  /**
5246
5490
  * Flags for this file (output).
5247
5491
  */
@@ -5267,6 +5511,10 @@ declare module Vips {
5267
5511
  * Error level to fail on.
5268
5512
  */
5269
5513
  fail_on?: FailOn | Enum
5514
+ /**
5515
+ * Don't use a cached result for this operation.
5516
+ */
5517
+ revalidate?: boolean
5270
5518
  /**
5271
5519
  * Flags for this file (output).
5272
5520
  */
@@ -5304,6 +5552,10 @@ declare module Vips {
5304
5552
  * Error level to fail on.
5305
5553
  */
5306
5554
  fail_on?: FailOn | Enum
5555
+ /**
5556
+ * Don't use a cached result for this operation.
5557
+ */
5558
+ revalidate?: boolean
5307
5559
  /**
5308
5560
  * Flags for this file (output).
5309
5561
  */
@@ -5341,6 +5593,10 @@ declare module Vips {
5341
5593
  * Error level to fail on.
5342
5594
  */
5343
5595
  fail_on?: FailOn | Enum
5596
+ /**
5597
+ * Don't use a cached result for this operation.
5598
+ */
5599
+ revalidate?: boolean
5344
5600
  /**
5345
5601
  * Flags for this file (output).
5346
5602
  */
@@ -5378,6 +5634,10 @@ declare module Vips {
5378
5634
  * Error level to fail on.
5379
5635
  */
5380
5636
  fail_on?: FailOn | Enum
5637
+ /**
5638
+ * Don't use a cached result for this operation.
5639
+ */
5640
+ revalidate?: boolean
5381
5641
  /**
5382
5642
  * Flags for this file (output).
5383
5643
  */
@@ -5924,7 +6184,7 @@ declare module Vips {
5924
6184
  convi(mask: Image | ArrayConstant): Image;
5925
6185
 
5926
6186
  /**
5927
- * Seperable convolution operation.
6187
+ * Separable convolution operation.
5928
6188
  * @param mask Input matrix image.
5929
6189
  * @param options Optional options.
5930
6190
  * @return Output image.
@@ -6020,9 +6280,9 @@ declare module Vips {
6020
6280
  */
6021
6281
  separator?: string
6022
6282
  /**
6023
- * Strip all metadata from image.
6283
+ * Which metadata to retain.
6024
6284
  */
6025
- strip?: boolean
6285
+ keep?: ForeignKeep | Flag
6026
6286
  /**
6027
6287
  * Background value.
6028
6288
  */
@@ -6031,6 +6291,10 @@ declare module Vips {
6031
6291
  * Set page height for multipage save.
6032
6292
  */
6033
6293
  page_height?: number
6294
+ /**
6295
+ * Filename of icc profile to embed.
6296
+ */
6297
+ profile?: string
6034
6298
  }): void;
6035
6299
 
6036
6300
  /**
@@ -6044,9 +6308,9 @@ declare module Vips {
6044
6308
  */
6045
6309
  separator?: string
6046
6310
  /**
6047
- * Strip all metadata from image.
6311
+ * Which metadata to retain.
6048
6312
  */
6049
- strip?: boolean
6313
+ keep?: ForeignKeep | Flag
6050
6314
  /**
6051
6315
  * Background value.
6052
6316
  */
@@ -6055,6 +6319,10 @@ declare module Vips {
6055
6319
  * Set page height for multipage save.
6056
6320
  */
6057
6321
  page_height?: number
6322
+ /**
6323
+ * Filename of icc profile to embed.
6324
+ */
6325
+ profile?: string
6058
6326
  }): void;
6059
6327
 
6060
6328
  /**
@@ -6205,9 +6473,9 @@ declare module Vips {
6205
6473
  */
6206
6474
  dzsave(filename: string, options?: {
6207
6475
  /**
6208
- * Base name to save to.
6476
+ * Image name.
6209
6477
  */
6210
- basename?: string
6478
+ imagename?: string
6211
6479
  /**
6212
6480
  * Directory layout.
6213
6481
  */
@@ -6252,18 +6520,18 @@ declare module Vips {
6252
6520
  * Skip tiles which are nearly equal to the background.
6253
6521
  */
6254
6522
  skip_blanks?: number
6255
- /**
6256
- * Don't strip tile metadata.
6257
- */
6258
- no_strip?: boolean
6259
6523
  /**
6260
6524
  * Resource id.
6261
6525
  */
6262
6526
  id?: string
6263
6527
  /**
6264
- * Strip all metadata from image.
6528
+ * Q factor.
6265
6529
  */
6266
- strip?: boolean
6530
+ Q?: number
6531
+ /**
6532
+ * Which metadata to retain.
6533
+ */
6534
+ keep?: ForeignKeep | Flag
6267
6535
  /**
6268
6536
  * Background value.
6269
6537
  */
@@ -6272,6 +6540,10 @@ declare module Vips {
6272
6540
  * Set page height for multipage save.
6273
6541
  */
6274
6542
  page_height?: number
6543
+ /**
6544
+ * Filename of icc profile to embed.
6545
+ */
6546
+ profile?: string
6275
6547
  }): void;
6276
6548
 
6277
6549
  /**
@@ -6281,9 +6553,9 @@ declare module Vips {
6281
6553
  */
6282
6554
  dzsaveBuffer(options?: {
6283
6555
  /**
6284
- * Base name to save to.
6556
+ * Image name.
6285
6557
  */
6286
- basename?: string
6558
+ imagename?: string
6287
6559
  /**
6288
6560
  * Directory layout.
6289
6561
  */
@@ -6328,18 +6600,18 @@ declare module Vips {
6328
6600
  * Skip tiles which are nearly equal to the background.
6329
6601
  */
6330
6602
  skip_blanks?: number
6331
- /**
6332
- * Don't strip tile metadata.
6333
- */
6334
- no_strip?: boolean
6335
6603
  /**
6336
6604
  * Resource id.
6337
6605
  */
6338
6606
  id?: string
6339
6607
  /**
6340
- * Strip all metadata from image.
6608
+ * Q factor.
6341
6609
  */
6342
- strip?: boolean
6610
+ Q?: number
6611
+ /**
6612
+ * Which metadata to retain.
6613
+ */
6614
+ keep?: ForeignKeep | Flag
6343
6615
  /**
6344
6616
  * Background value.
6345
6617
  */
@@ -6348,6 +6620,10 @@ declare module Vips {
6348
6620
  * Set page height for multipage save.
6349
6621
  */
6350
6622
  page_height?: number
6623
+ /**
6624
+ * Filename of icc profile to embed.
6625
+ */
6626
+ profile?: string
6351
6627
  }): Uint8Array;
6352
6628
 
6353
6629
  /**
@@ -6357,9 +6633,9 @@ declare module Vips {
6357
6633
  */
6358
6634
  dzsaveTarget(target: Target, options?: {
6359
6635
  /**
6360
- * Base name to save to.
6636
+ * Image name.
6361
6637
  */
6362
- basename?: string
6638
+ imagename?: string
6363
6639
  /**
6364
6640
  * Directory layout.
6365
6641
  */
@@ -6404,18 +6680,18 @@ declare module Vips {
6404
6680
  * Skip tiles which are nearly equal to the background.
6405
6681
  */
6406
6682
  skip_blanks?: number
6407
- /**
6408
- * Don't strip tile metadata.
6409
- */
6410
- no_strip?: boolean
6411
6683
  /**
6412
6684
  * Resource id.
6413
6685
  */
6414
6686
  id?: string
6415
6687
  /**
6416
- * Strip all metadata from image.
6688
+ * Q factor.
6689
+ */
6690
+ Q?: number
6691
+ /**
6692
+ * Which metadata to retain.
6417
6693
  */
6418
- strip?: boolean
6694
+ keep?: ForeignKeep | Flag
6419
6695
  /**
6420
6696
  * Background value.
6421
6697
  */
@@ -6424,6 +6700,10 @@ declare module Vips {
6424
6700
  * Set page height for multipage save.
6425
6701
  */
6426
6702
  page_height?: number
6703
+ /**
6704
+ * Filename of icc profile to embed.
6705
+ */
6706
+ profile?: string
6427
6707
  }): void;
6428
6708
 
6429
6709
  /**
@@ -6501,9 +6781,9 @@ declare module Vips {
6501
6781
  */
6502
6782
  fitssave(filename: string, options?: {
6503
6783
  /**
6504
- * Strip all metadata from image.
6784
+ * Which metadata to retain.
6505
6785
  */
6506
- strip?: boolean
6786
+ keep?: ForeignKeep | Flag
6507
6787
  /**
6508
6788
  * Background value.
6509
6789
  */
@@ -6512,6 +6792,10 @@ declare module Vips {
6512
6792
  * Set page height for multipage save.
6513
6793
  */
6514
6794
  page_height?: number
6795
+ /**
6796
+ * Filename of icc profile to embed.
6797
+ */
6798
+ profile?: string
6515
6799
  }): void;
6516
6800
 
6517
6801
  /**
@@ -6628,9 +6912,9 @@ declare module Vips {
6628
6912
  */
6629
6913
  interlace?: boolean
6630
6914
  /**
6631
- * Strip all metadata from image.
6915
+ * Which metadata to retain.
6632
6916
  */
6633
- strip?: boolean
6917
+ keep?: ForeignKeep | Flag
6634
6918
  /**
6635
6919
  * Background value.
6636
6920
  */
@@ -6639,6 +6923,10 @@ declare module Vips {
6639
6923
  * Set page height for multipage save.
6640
6924
  */
6641
6925
  page_height?: number
6926
+ /**
6927
+ * Filename of icc profile to embed.
6928
+ */
6929
+ profile?: string
6642
6930
  }): void;
6643
6931
 
6644
6932
  /**
@@ -6676,9 +6964,9 @@ declare module Vips {
6676
6964
  */
6677
6965
  interlace?: boolean
6678
6966
  /**
6679
- * Strip all metadata from image.
6967
+ * Which metadata to retain.
6680
6968
  */
6681
- strip?: boolean
6969
+ keep?: ForeignKeep | Flag
6682
6970
  /**
6683
6971
  * Background value.
6684
6972
  */
@@ -6687,6 +6975,10 @@ declare module Vips {
6687
6975
  * Set page height for multipage save.
6688
6976
  */
6689
6977
  page_height?: number
6978
+ /**
6979
+ * Filename of icc profile to embed.
6980
+ */
6981
+ profile?: string
6690
6982
  }): Uint8Array;
6691
6983
 
6692
6984
  /**
@@ -6724,9 +7016,9 @@ declare module Vips {
6724
7016
  */
6725
7017
  interlace?: boolean
6726
7018
  /**
6727
- * Strip all metadata from image.
7019
+ * Which metadata to retain.
6728
7020
  */
6729
- strip?: boolean
7021
+ keep?: ForeignKeep | Flag
6730
7022
  /**
6731
7023
  * Background value.
6732
7024
  */
@@ -6735,6 +7027,10 @@ declare module Vips {
6735
7027
  * Set page height for multipage save.
6736
7028
  */
6737
7029
  page_height?: number
7030
+ /**
7031
+ * Filename of icc profile to embed.
7032
+ */
7033
+ profile?: string
6738
7034
  }): void;
6739
7035
 
6740
7036
  /**
@@ -6816,9 +7112,9 @@ declare module Vips {
6816
7112
  */
6817
7113
  encoder?: ForeignHeifEncoder | Enum
6818
7114
  /**
6819
- * Strip all metadata from image.
7115
+ * Which metadata to retain.
6820
7116
  */
6821
- strip?: boolean
7117
+ keep?: ForeignKeep | Flag
6822
7118
  /**
6823
7119
  * Background value.
6824
7120
  */
@@ -6827,6 +7123,10 @@ declare module Vips {
6827
7123
  * Set page height for multipage save.
6828
7124
  */
6829
7125
  page_height?: number
7126
+ /**
7127
+ * Filename of icc profile to embed.
7128
+ */
7129
+ profile?: string
6830
7130
  }): void;
6831
7131
 
6832
7132
  /**
@@ -6864,9 +7164,9 @@ declare module Vips {
6864
7164
  */
6865
7165
  encoder?: ForeignHeifEncoder | Enum
6866
7166
  /**
6867
- * Strip all metadata from image.
7167
+ * Which metadata to retain.
6868
7168
  */
6869
- strip?: boolean
7169
+ keep?: ForeignKeep | Flag
6870
7170
  /**
6871
7171
  * Background value.
6872
7172
  */
@@ -6875,6 +7175,10 @@ declare module Vips {
6875
7175
  * Set page height for multipage save.
6876
7176
  */
6877
7177
  page_height?: number
7178
+ /**
7179
+ * Filename of icc profile to embed.
7180
+ */
7181
+ profile?: string
6878
7182
  }): Uint8Array;
6879
7183
 
6880
7184
  /**
@@ -6912,9 +7216,9 @@ declare module Vips {
6912
7216
  */
6913
7217
  encoder?: ForeignHeifEncoder | Enum
6914
7218
  /**
6915
- * Strip all metadata from image.
7219
+ * Which metadata to retain.
6916
7220
  */
6917
- strip?: boolean
7221
+ keep?: ForeignKeep | Flag
6918
7222
  /**
6919
7223
  * Background value.
6920
7224
  */
@@ -6923,6 +7227,10 @@ declare module Vips {
6923
7227
  * Set page height for multipage save.
6924
7228
  */
6925
7229
  page_height?: number
7230
+ /**
7231
+ * Filename of icc profile to embed.
7232
+ */
7233
+ profile?: string
6926
7234
  }): void;
6927
7235
 
6928
7236
  /**
@@ -7266,9 +7574,9 @@ declare module Vips {
7266
7574
  */
7267
7575
  subsample_mode?: ForeignSubsample | Enum
7268
7576
  /**
7269
- * Strip all metadata from image.
7577
+ * Which metadata to retain.
7270
7578
  */
7271
- strip?: boolean
7579
+ keep?: ForeignKeep | Flag
7272
7580
  /**
7273
7581
  * Background value.
7274
7582
  */
@@ -7277,6 +7585,10 @@ declare module Vips {
7277
7585
  * Set page height for multipage save.
7278
7586
  */
7279
7587
  page_height?: number
7588
+ /**
7589
+ * Filename of icc profile to embed.
7590
+ */
7591
+ profile?: string
7280
7592
  }): void;
7281
7593
 
7282
7594
  /**
@@ -7306,9 +7618,9 @@ declare module Vips {
7306
7618
  */
7307
7619
  subsample_mode?: ForeignSubsample | Enum
7308
7620
  /**
7309
- * Strip all metadata from image.
7621
+ * Which metadata to retain.
7310
7622
  */
7311
- strip?: boolean
7623
+ keep?: ForeignKeep | Flag
7312
7624
  /**
7313
7625
  * Background value.
7314
7626
  */
@@ -7317,6 +7629,10 @@ declare module Vips {
7317
7629
  * Set page height for multipage save.
7318
7630
  */
7319
7631
  page_height?: number
7632
+ /**
7633
+ * Filename of icc profile to embed.
7634
+ */
7635
+ profile?: string
7320
7636
  }): Uint8Array;
7321
7637
 
7322
7638
  /**
@@ -7346,9 +7662,9 @@ declare module Vips {
7346
7662
  */
7347
7663
  subsample_mode?: ForeignSubsample | Enum
7348
7664
  /**
7349
- * Strip all metadata from image.
7665
+ * Which metadata to retain.
7350
7666
  */
7351
- strip?: boolean
7667
+ keep?: ForeignKeep | Flag
7352
7668
  /**
7353
7669
  * Background value.
7354
7670
  */
@@ -7357,6 +7673,10 @@ declare module Vips {
7357
7673
  * Set page height for multipage save.
7358
7674
  */
7359
7675
  page_height?: number
7676
+ /**
7677
+ * Filename of icc profile to embed.
7678
+ */
7679
+ profile?: string
7360
7680
  }): void;
7361
7681
 
7362
7682
  /**
@@ -7369,10 +7689,6 @@ declare module Vips {
7369
7689
  * Q factor.
7370
7690
  */
7371
7691
  Q?: number
7372
- /**
7373
- * Icc profile to embed.
7374
- */
7375
- profile?: string
7376
7692
  /**
7377
7693
  * Compute optimal huffman coding tables.
7378
7694
  */
@@ -7406,9 +7722,9 @@ declare module Vips {
7406
7722
  */
7407
7723
  restart_interval?: number
7408
7724
  /**
7409
- * Strip all metadata from image.
7725
+ * Which metadata to retain.
7410
7726
  */
7411
- strip?: boolean
7727
+ keep?: ForeignKeep | Flag
7412
7728
  /**
7413
7729
  * Background value.
7414
7730
  */
@@ -7417,6 +7733,10 @@ declare module Vips {
7417
7733
  * Set page height for multipage save.
7418
7734
  */
7419
7735
  page_height?: number
7736
+ /**
7737
+ * Filename of icc profile to embed.
7738
+ */
7739
+ profile?: string
7420
7740
  }): void;
7421
7741
 
7422
7742
  /**
@@ -7429,10 +7749,6 @@ declare module Vips {
7429
7749
  * Q factor.
7430
7750
  */
7431
7751
  Q?: number
7432
- /**
7433
- * Icc profile to embed.
7434
- */
7435
- profile?: string
7436
7752
  /**
7437
7753
  * Compute optimal huffman coding tables.
7438
7754
  */
@@ -7466,9 +7782,9 @@ declare module Vips {
7466
7782
  */
7467
7783
  restart_interval?: number
7468
7784
  /**
7469
- * Strip all metadata from image.
7785
+ * Which metadata to retain.
7470
7786
  */
7471
- strip?: boolean
7787
+ keep?: ForeignKeep | Flag
7472
7788
  /**
7473
7789
  * Background value.
7474
7790
  */
@@ -7477,6 +7793,10 @@ declare module Vips {
7477
7793
  * Set page height for multipage save.
7478
7794
  */
7479
7795
  page_height?: number
7796
+ /**
7797
+ * Filename of icc profile to embed.
7798
+ */
7799
+ profile?: string
7480
7800
  }): Uint8Array;
7481
7801
 
7482
7802
  /**
@@ -7488,10 +7808,6 @@ declare module Vips {
7488
7808
  * Q factor.
7489
7809
  */
7490
7810
  Q?: number
7491
- /**
7492
- * Icc profile to embed.
7493
- */
7494
- profile?: string
7495
7811
  /**
7496
7812
  * Compute optimal huffman coding tables.
7497
7813
  */
@@ -7525,9 +7841,9 @@ declare module Vips {
7525
7841
  */
7526
7842
  restart_interval?: number
7527
7843
  /**
7528
- * Strip all metadata from image.
7844
+ * Which metadata to retain.
7529
7845
  */
7530
- strip?: boolean
7846
+ keep?: ForeignKeep | Flag
7531
7847
  /**
7532
7848
  * Background value.
7533
7849
  */
@@ -7536,6 +7852,10 @@ declare module Vips {
7536
7852
  * Set page height for multipage save.
7537
7853
  */
7538
7854
  page_height?: number
7855
+ /**
7856
+ * Filename of icc profile to embed.
7857
+ */
7858
+ profile?: string
7539
7859
  }): void;
7540
7860
 
7541
7861
  /**
@@ -7548,10 +7868,6 @@ declare module Vips {
7548
7868
  * Q factor.
7549
7869
  */
7550
7870
  Q?: number
7551
- /**
7552
- * Icc profile to embed.
7553
- */
7554
- profile?: string
7555
7871
  /**
7556
7872
  * Compute optimal huffman coding tables.
7557
7873
  */
@@ -7585,9 +7901,9 @@ declare module Vips {
7585
7901
  */
7586
7902
  restart_interval?: number
7587
7903
  /**
7588
- * Strip all metadata from image.
7904
+ * Which metadata to retain.
7589
7905
  */
7590
- strip?: boolean
7906
+ keep?: ForeignKeep | Flag
7591
7907
  /**
7592
7908
  * Background value.
7593
7909
  */
@@ -7596,6 +7912,10 @@ declare module Vips {
7596
7912
  * Set page height for multipage save.
7597
7913
  */
7598
7914
  page_height?: number
7915
+ /**
7916
+ * Filename of icc profile to embed.
7917
+ */
7918
+ profile?: string
7599
7919
  }): void;
7600
7920
 
7601
7921
  /**
@@ -7625,9 +7945,9 @@ declare module Vips {
7625
7945
  */
7626
7946
  Q?: number
7627
7947
  /**
7628
- * Strip all metadata from image.
7948
+ * Which metadata to retain.
7629
7949
  */
7630
- strip?: boolean
7950
+ keep?: ForeignKeep | Flag
7631
7951
  /**
7632
7952
  * Background value.
7633
7953
  */
@@ -7636,6 +7956,10 @@ declare module Vips {
7636
7956
  * Set page height for multipage save.
7637
7957
  */
7638
7958
  page_height?: number
7959
+ /**
7960
+ * Filename of icc profile to embed.
7961
+ */
7962
+ profile?: string
7639
7963
  }): void;
7640
7964
 
7641
7965
  /**
@@ -7665,9 +7989,9 @@ declare module Vips {
7665
7989
  */
7666
7990
  Q?: number
7667
7991
  /**
7668
- * Strip all metadata from image.
7992
+ * Which metadata to retain.
7669
7993
  */
7670
- strip?: boolean
7994
+ keep?: ForeignKeep | Flag
7671
7995
  /**
7672
7996
  * Background value.
7673
7997
  */
@@ -7676,6 +8000,10 @@ declare module Vips {
7676
8000
  * Set page height for multipage save.
7677
8001
  */
7678
8002
  page_height?: number
8003
+ /**
8004
+ * Filename of icc profile to embed.
8005
+ */
8006
+ profile?: string
7679
8007
  }): Uint8Array;
7680
8008
 
7681
8009
  /**
@@ -7705,9 +8033,9 @@ declare module Vips {
7705
8033
  */
7706
8034
  Q?: number
7707
8035
  /**
7708
- * Strip all metadata from image.
8036
+ * Which metadata to retain.
7709
8037
  */
7710
- strip?: boolean
8038
+ keep?: ForeignKeep | Flag
7711
8039
  /**
7712
8040
  * Background value.
7713
8041
  */
@@ -7716,6 +8044,10 @@ declare module Vips {
7716
8044
  * Set page height for multipage save.
7717
8045
  */
7718
8046
  page_height?: number
8047
+ /**
8048
+ * Filename of icc profile to embed.
8049
+ */
8050
+ profile?: string
7719
8051
  }): void;
7720
8052
 
7721
8053
  /**
@@ -7795,9 +8127,9 @@ declare module Vips {
7795
8127
  */
7796
8128
  bitdepth?: number
7797
8129
  /**
7798
- * Strip all metadata from image.
8130
+ * Which metadata to retain.
7799
8131
  */
7800
- strip?: boolean
8132
+ keep?: ForeignKeep | Flag
7801
8133
  /**
7802
8134
  * Background value.
7803
8135
  */
@@ -7806,6 +8138,10 @@ declare module Vips {
7806
8138
  * Set page height for multipage save.
7807
8139
  */
7808
8140
  page_height?: number
8141
+ /**
8142
+ * Filename of icc profile to embed.
8143
+ */
8144
+ profile?: string
7809
8145
  }): void;
7810
8146
 
7811
8147
  /**
@@ -7835,9 +8171,9 @@ declare module Vips {
7835
8171
  */
7836
8172
  bitdepth?: number
7837
8173
  /**
7838
- * Strip all metadata from image.
8174
+ * Which metadata to retain.
7839
8175
  */
7840
- strip?: boolean
8176
+ keep?: ForeignKeep | Flag
7841
8177
  /**
7842
8178
  * Background value.
7843
8179
  */
@@ -7846,6 +8182,10 @@ declare module Vips {
7846
8182
  * Set page height for multipage save.
7847
8183
  */
7848
8184
  page_height?: number
8185
+ /**
8186
+ * Filename of icc profile to embed.
8187
+ */
8188
+ profile?: string
7849
8189
  }): Uint8Array;
7850
8190
 
7851
8191
  /**
@@ -7946,9 +8286,9 @@ declare module Vips {
7946
8286
  */
7947
8287
  matrixprint(options?: {
7948
8288
  /**
7949
- * Strip all metadata from image.
8289
+ * Which metadata to retain.
7950
8290
  */
7951
- strip?: boolean
8291
+ keep?: ForeignKeep | Flag
7952
8292
  /**
7953
8293
  * Background value.
7954
8294
  */
@@ -7957,6 +8297,10 @@ declare module Vips {
7957
8297
  * Set page height for multipage save.
7958
8298
  */
7959
8299
  page_height?: number
8300
+ /**
8301
+ * Filename of icc profile to embed.
8302
+ */
8303
+ profile?: string
7960
8304
  }): void;
7961
8305
 
7962
8306
  /**
@@ -7966,9 +8310,9 @@ declare module Vips {
7966
8310
  */
7967
8311
  matrixsave(filename: string, options?: {
7968
8312
  /**
7969
- * Strip all metadata from image.
8313
+ * Which metadata to retain.
7970
8314
  */
7971
- strip?: boolean
8315
+ keep?: ForeignKeep | Flag
7972
8316
  /**
7973
8317
  * Background value.
7974
8318
  */
@@ -7977,6 +8321,10 @@ declare module Vips {
7977
8321
  * Set page height for multipage save.
7978
8322
  */
7979
8323
  page_height?: number
8324
+ /**
8325
+ * Filename of icc profile to embed.
8326
+ */
8327
+ profile?: string
7980
8328
  }): void;
7981
8329
 
7982
8330
  /**
@@ -7986,9 +8334,9 @@ declare module Vips {
7986
8334
  */
7987
8335
  matrixsaveTarget(target: Target, options?: {
7988
8336
  /**
7989
- * Strip all metadata from image.
8337
+ * Which metadata to retain.
7990
8338
  */
7991
- strip?: boolean
8339
+ keep?: ForeignKeep | Flag
7992
8340
  /**
7993
8341
  * Background value.
7994
8342
  */
@@ -7997,6 +8345,10 @@ declare module Vips {
7997
8345
  * Set page height for multipage save.
7998
8346
  */
7999
8347
  page_height?: number
8348
+ /**
8349
+ * Filename of icc profile to embed.
8350
+ */
8351
+ profile?: string
8000
8352
  }): void;
8001
8353
 
8002
8354
  /**
@@ -8231,9 +8583,9 @@ declare module Vips {
8231
8583
  */
8232
8584
  niftisave(filename: string, options?: {
8233
8585
  /**
8234
- * Strip all metadata from image.
8586
+ * Which metadata to retain.
8235
8587
  */
8236
- strip?: boolean
8588
+ keep?: ForeignKeep | Flag
8237
8589
  /**
8238
8590
  * Background value.
8239
8591
  */
@@ -8242,6 +8594,10 @@ declare module Vips {
8242
8594
  * Set page height for multipage save.
8243
8595
  */
8244
8596
  page_height?: number
8597
+ /**
8598
+ * Filename of icc profile to embed.
8599
+ */
8600
+ profile?: string
8245
8601
  }): void;
8246
8602
 
8247
8603
  /**
@@ -8272,10 +8628,6 @@ declare module Vips {
8272
8628
  * Interlace image.
8273
8629
  */
8274
8630
  interlace?: boolean
8275
- /**
8276
- * Icc profile to embed.
8277
- */
8278
- profile?: string
8279
8631
  /**
8280
8632
  * Libspng row filter flag(s).
8281
8633
  */
@@ -8301,9 +8653,9 @@ declare module Vips {
8301
8653
  */
8302
8654
  effort?: number
8303
8655
  /**
8304
- * Strip all metadata from image.
8656
+ * Which metadata to retain.
8305
8657
  */
8306
- strip?: boolean
8658
+ keep?: ForeignKeep | Flag
8307
8659
  /**
8308
8660
  * Background value.
8309
8661
  */
@@ -8312,6 +8664,10 @@ declare module Vips {
8312
8664
  * Set page height for multipage save.
8313
8665
  */
8314
8666
  page_height?: number
8667
+ /**
8668
+ * Filename of icc profile to embed.
8669
+ */
8670
+ profile?: string
8315
8671
  }): void;
8316
8672
 
8317
8673
  /**
@@ -8328,10 +8684,6 @@ declare module Vips {
8328
8684
  * Interlace image.
8329
8685
  */
8330
8686
  interlace?: boolean
8331
- /**
8332
- * Icc profile to embed.
8333
- */
8334
- profile?: string
8335
8687
  /**
8336
8688
  * Libspng row filter flag(s).
8337
8689
  */
@@ -8357,9 +8709,9 @@ declare module Vips {
8357
8709
  */
8358
8710
  effort?: number
8359
8711
  /**
8360
- * Strip all metadata from image.
8712
+ * Which metadata to retain.
8361
8713
  */
8362
- strip?: boolean
8714
+ keep?: ForeignKeep | Flag
8363
8715
  /**
8364
8716
  * Background value.
8365
8717
  */
@@ -8368,6 +8720,10 @@ declare module Vips {
8368
8720
  * Set page height for multipage save.
8369
8721
  */
8370
8722
  page_height?: number
8723
+ /**
8724
+ * Filename of icc profile to embed.
8725
+ */
8726
+ profile?: string
8371
8727
  }): Uint8Array;
8372
8728
 
8373
8729
  /**
@@ -8384,10 +8740,6 @@ declare module Vips {
8384
8740
  * Interlace image.
8385
8741
  */
8386
8742
  interlace?: boolean
8387
- /**
8388
- * Icc profile to embed.
8389
- */
8390
- profile?: string
8391
8743
  /**
8392
8744
  * Libspng row filter flag(s).
8393
8745
  */
@@ -8413,9 +8765,9 @@ declare module Vips {
8413
8765
  */
8414
8766
  effort?: number
8415
8767
  /**
8416
- * Strip all metadata from image.
8768
+ * Which metadata to retain.
8417
8769
  */
8418
- strip?: boolean
8770
+ keep?: ForeignKeep | Flag
8419
8771
  /**
8420
8772
  * Background value.
8421
8773
  */
@@ -8424,6 +8776,10 @@ declare module Vips {
8424
8776
  * Set page height for multipage save.
8425
8777
  */
8426
8778
  page_height?: number
8779
+ /**
8780
+ * Filename of icc profile to embed.
8781
+ */
8782
+ profile?: string
8427
8783
  }): void;
8428
8784
 
8429
8785
  /**
@@ -8445,9 +8801,9 @@ declare module Vips {
8445
8801
  */
8446
8802
  bitdepth?: number
8447
8803
  /**
8448
- * Strip all metadata from image.
8804
+ * Which metadata to retain.
8449
8805
  */
8450
- strip?: boolean
8806
+ keep?: ForeignKeep | Flag
8451
8807
  /**
8452
8808
  * Background value.
8453
8809
  */
@@ -8456,6 +8812,10 @@ declare module Vips {
8456
8812
  * Set page height for multipage save.
8457
8813
  */
8458
8814
  page_height?: number
8815
+ /**
8816
+ * Filename of icc profile to embed.
8817
+ */
8818
+ profile?: string
8459
8819
  }): void;
8460
8820
 
8461
8821
  /**
@@ -8477,9 +8837,9 @@ declare module Vips {
8477
8837
  */
8478
8838
  bitdepth?: number
8479
8839
  /**
8480
- * Strip all metadata from image.
8840
+ * Which metadata to retain.
8481
8841
  */
8482
- strip?: boolean
8842
+ keep?: ForeignKeep | Flag
8483
8843
  /**
8484
8844
  * Background value.
8485
8845
  */
@@ -8488,6 +8848,10 @@ declare module Vips {
8488
8848
  * Set page height for multipage save.
8489
8849
  */
8490
8850
  page_height?: number
8851
+ /**
8852
+ * Filename of icc profile to embed.
8853
+ */
8854
+ profile?: string
8491
8855
  }): void;
8492
8856
 
8493
8857
  /**
@@ -8502,6 +8866,12 @@ declare module Vips {
8502
8866
  max_alpha?: number
8503
8867
  }): Image;
8504
8868
 
8869
+ /**
8870
+ * Prewitt edge detector.
8871
+ * @return Output image.
8872
+ */
8873
+ prewitt(): Image;
8874
+
8505
8875
  /**
8506
8876
  * Resample an image with a quadratic transform.
8507
8877
  * @param coeff Coefficient matrix.
@@ -8528,9 +8898,9 @@ declare module Vips {
8528
8898
  */
8529
8899
  radsave(filename: string, options?: {
8530
8900
  /**
8531
- * Strip all metadata from image.
8901
+ * Which metadata to retain.
8532
8902
  */
8533
- strip?: boolean
8903
+ keep?: ForeignKeep | Flag
8534
8904
  /**
8535
8905
  * Background value.
8536
8906
  */
@@ -8539,6 +8909,10 @@ declare module Vips {
8539
8909
  * Set page height for multipage save.
8540
8910
  */
8541
8911
  page_height?: number
8912
+ /**
8913
+ * Filename of icc profile to embed.
8914
+ */
8915
+ profile?: string
8542
8916
  }): void;
8543
8917
 
8544
8918
  /**
@@ -8548,9 +8922,9 @@ declare module Vips {
8548
8922
  */
8549
8923
  radsaveBuffer(options?: {
8550
8924
  /**
8551
- * Strip all metadata from image.
8925
+ * Which metadata to retain.
8552
8926
  */
8553
- strip?: boolean
8927
+ keep?: ForeignKeep | Flag
8554
8928
  /**
8555
8929
  * Background value.
8556
8930
  */
@@ -8559,6 +8933,10 @@ declare module Vips {
8559
8933
  * Set page height for multipage save.
8560
8934
  */
8561
8935
  page_height?: number
8936
+ /**
8937
+ * Filename of icc profile to embed.
8938
+ */
8939
+ profile?: string
8562
8940
  }): Uint8Array;
8563
8941
 
8564
8942
  /**
@@ -8568,9 +8946,9 @@ declare module Vips {
8568
8946
  */
8569
8947
  radsaveTarget(target: Target, options?: {
8570
8948
  /**
8571
- * Strip all metadata from image.
8949
+ * Which metadata to retain.
8572
8950
  */
8573
- strip?: boolean
8951
+ keep?: ForeignKeep | Flag
8574
8952
  /**
8575
8953
  * Background value.
8576
8954
  */
@@ -8579,6 +8957,10 @@ declare module Vips {
8579
8957
  * Set page height for multipage save.
8580
8958
  */
8581
8959
  page_height?: number
8960
+ /**
8961
+ * Filename of icc profile to embed.
8962
+ */
8963
+ profile?: string
8582
8964
  }): void;
8583
8965
 
8584
8966
  /**
@@ -8597,9 +8979,9 @@ declare module Vips {
8597
8979
  */
8598
8980
  rawsave(filename: string, options?: {
8599
8981
  /**
8600
- * Strip all metadata from image.
8982
+ * Which metadata to retain.
8601
8983
  */
8602
- strip?: boolean
8984
+ keep?: ForeignKeep | Flag
8603
8985
  /**
8604
8986
  * Background value.
8605
8987
  */
@@ -8608,6 +8990,10 @@ declare module Vips {
8608
8990
  * Set page height for multipage save.
8609
8991
  */
8610
8992
  page_height?: number
8993
+ /**
8994
+ * Filename of icc profile to embed.
8995
+ */
8996
+ profile?: string
8611
8997
  }): void;
8612
8998
 
8613
8999
  /**
@@ -8617,9 +9003,9 @@ declare module Vips {
8617
9003
  */
8618
9004
  rawsaveFd(fd: number, options?: {
8619
9005
  /**
8620
- * Strip all metadata from image.
9006
+ * Which metadata to retain.
8621
9007
  */
8622
- strip?: boolean
9008
+ keep?: ForeignKeep | Flag
8623
9009
  /**
8624
9010
  * Background value.
8625
9011
  */
@@ -8628,6 +9014,10 @@ declare module Vips {
8628
9014
  * Set page height for multipage save.
8629
9015
  */
8630
9016
  page_height?: number
9017
+ /**
9018
+ * Filename of icc profile to embed.
9019
+ */
9020
+ profile?: string
8631
9021
  }): void;
8632
9022
 
8633
9023
  /**
@@ -8850,6 +9240,12 @@ declare module Vips {
8850
9240
  log?: boolean
8851
9241
  }): Image;
8852
9242
 
9243
+ /**
9244
+ * Scharr edge detector.
9245
+ * @return Output image.
9246
+ */
9247
+ scharr(): Image;
9248
+
8853
9249
  /**
8854
9250
  * Check sequential access.
8855
9251
  * @param options Optional options.
@@ -8992,6 +9388,10 @@ declare module Vips {
8992
9388
  * How to measure interestingness.
8993
9389
  */
8994
9390
  interesting?: Interesting | Enum
9391
+ /**
9392
+ * Input image already has premultiplied alpha.
9393
+ */
9394
+ premultiplied?: boolean
8995
9395
  /**
8996
9396
  * Horizontal position of attention centre (output).
8997
9397
  */
@@ -9137,10 +9537,6 @@ declare module Vips {
9137
9537
  * Compression prediction.
9138
9538
  */
9139
9539
  predictor?: ForeignTiffPredictor | Enum
9140
- /**
9141
- * Icc profile to embed.
9142
- */
9143
- profile?: string
9144
9540
  /**
9145
9541
  * Write a tiled tiff.
9146
9542
  */
@@ -9210,9 +9606,9 @@ declare module Vips {
9210
9606
  */
9211
9607
  premultiply?: boolean
9212
9608
  /**
9213
- * Strip all metadata from image.
9609
+ * Which metadata to retain.
9214
9610
  */
9215
- strip?: boolean
9611
+ keep?: ForeignKeep | Flag
9216
9612
  /**
9217
9613
  * Background value.
9218
9614
  */
@@ -9221,6 +9617,10 @@ declare module Vips {
9221
9617
  * Set page height for multipage save.
9222
9618
  */
9223
9619
  page_height?: number
9620
+ /**
9621
+ * Filename of icc profile to embed.
9622
+ */
9623
+ profile?: string
9224
9624
  }): void;
9225
9625
 
9226
9626
  /**
@@ -9241,10 +9641,6 @@ declare module Vips {
9241
9641
  * Compression prediction.
9242
9642
  */
9243
9643
  predictor?: ForeignTiffPredictor | Enum
9244
- /**
9245
- * Icc profile to embed.
9246
- */
9247
- profile?: string
9248
9644
  /**
9249
9645
  * Write a tiled tiff.
9250
9646
  */
@@ -9314,9 +9710,9 @@ declare module Vips {
9314
9710
  */
9315
9711
  premultiply?: boolean
9316
9712
  /**
9317
- * Strip all metadata from image.
9713
+ * Which metadata to retain.
9318
9714
  */
9319
- strip?: boolean
9715
+ keep?: ForeignKeep | Flag
9320
9716
  /**
9321
9717
  * Background value.
9322
9718
  */
@@ -9325,6 +9721,10 @@ declare module Vips {
9325
9721
  * Set page height for multipage save.
9326
9722
  */
9327
9723
  page_height?: number
9724
+ /**
9725
+ * Filename of icc profile to embed.
9726
+ */
9727
+ profile?: string
9328
9728
  }): Uint8Array;
9329
9729
 
9330
9730
  /**
@@ -9345,10 +9745,6 @@ declare module Vips {
9345
9745
  * Compression prediction.
9346
9746
  */
9347
9747
  predictor?: ForeignTiffPredictor | Enum
9348
- /**
9349
- * Icc profile to embed.
9350
- */
9351
- profile?: string
9352
9748
  /**
9353
9749
  * Write a tiled tiff.
9354
9750
  */
@@ -9418,9 +9814,9 @@ declare module Vips {
9418
9814
  */
9419
9815
  premultiply?: boolean
9420
9816
  /**
9421
- * Strip all metadata from image.
9817
+ * Which metadata to retain.
9422
9818
  */
9423
- strip?: boolean
9819
+ keep?: ForeignKeep | Flag
9424
9820
  /**
9425
9821
  * Background value.
9426
9822
  */
@@ -9429,6 +9825,10 @@ declare module Vips {
9429
9825
  * Set page height for multipage save.
9430
9826
  */
9431
9827
  page_height?: number
9828
+ /**
9829
+ * Filename of icc profile to embed.
9830
+ */
9831
+ profile?: string
9432
9832
  }): void;
9433
9833
 
9434
9834
  /**
@@ -9498,9 +9898,9 @@ declare module Vips {
9498
9898
  */
9499
9899
  vipssave(filename: string, options?: {
9500
9900
  /**
9501
- * Strip all metadata from image.
9901
+ * Which metadata to retain.
9502
9902
  */
9503
- strip?: boolean
9903
+ keep?: ForeignKeep | Flag
9504
9904
  /**
9505
9905
  * Background value.
9506
9906
  */
@@ -9509,6 +9909,10 @@ declare module Vips {
9509
9909
  * Set page height for multipage save.
9510
9910
  */
9511
9911
  page_height?: number
9912
+ /**
9913
+ * Filename of icc profile to embed.
9914
+ */
9915
+ profile?: string
9512
9916
  }): void;
9513
9917
 
9514
9918
  /**
@@ -9518,9 +9922,9 @@ declare module Vips {
9518
9922
  */
9519
9923
  vipssaveTarget(target: Target, options?: {
9520
9924
  /**
9521
- * Strip all metadata from image.
9925
+ * Which metadata to retain.
9522
9926
  */
9523
- strip?: boolean
9927
+ keep?: ForeignKeep | Flag
9524
9928
  /**
9525
9929
  * Background value.
9526
9930
  */
@@ -9529,6 +9933,10 @@ declare module Vips {
9529
9933
  * Set page height for multipage save.
9530
9934
  */
9531
9935
  page_height?: number
9936
+ /**
9937
+ * Filename of icc profile to embed.
9938
+ */
9939
+ profile?: string
9532
9940
  }): void;
9533
9941
 
9534
9942
  /**
@@ -9577,18 +9985,14 @@ declare module Vips {
9577
9985
  * Level of cpu effort to reduce file size.
9578
9986
  */
9579
9987
  effort?: number
9580
- /**
9581
- * Icc profile to embed.
9582
- */
9583
- profile?: string
9584
9988
  /**
9585
9989
  * Allow mixed encoding (might reduce file size).
9586
9990
  */
9587
9991
  mixed?: boolean
9588
9992
  /**
9589
- * Strip all metadata from image.
9993
+ * Which metadata to retain.
9590
9994
  */
9591
- strip?: boolean
9995
+ keep?: ForeignKeep | Flag
9592
9996
  /**
9593
9997
  * Background value.
9594
9998
  */
@@ -9597,6 +10001,10 @@ declare module Vips {
9597
10001
  * Set page height for multipage save.
9598
10002
  */
9599
10003
  page_height?: number
10004
+ /**
10005
+ * Filename of icc profile to embed.
10006
+ */
10007
+ profile?: string
9600
10008
  }): void;
9601
10009
 
9602
10010
  /**
@@ -9645,18 +10053,14 @@ declare module Vips {
9645
10053
  * Level of cpu effort to reduce file size.
9646
10054
  */
9647
10055
  effort?: number
9648
- /**
9649
- * Icc profile to embed.
9650
- */
9651
- profile?: string
9652
10056
  /**
9653
10057
  * Allow mixed encoding (might reduce file size).
9654
10058
  */
9655
10059
  mixed?: boolean
9656
10060
  /**
9657
- * Strip all metadata from image.
10061
+ * Which metadata to retain.
9658
10062
  */
9659
- strip?: boolean
10063
+ keep?: ForeignKeep | Flag
9660
10064
  /**
9661
10065
  * Background value.
9662
10066
  */
@@ -9665,6 +10069,10 @@ declare module Vips {
9665
10069
  * Set page height for multipage save.
9666
10070
  */
9667
10071
  page_height?: number
10072
+ /**
10073
+ * Filename of icc profile to embed.
10074
+ */
10075
+ profile?: string
9668
10076
  }): Uint8Array;
9669
10077
 
9670
10078
  /**
@@ -9712,18 +10120,14 @@ declare module Vips {
9712
10120
  * Level of cpu effort to reduce file size.
9713
10121
  */
9714
10122
  effort?: number
9715
- /**
9716
- * Icc profile to embed.
9717
- */
9718
- profile?: string
9719
10123
  /**
9720
10124
  * Allow mixed encoding (might reduce file size).
9721
10125
  */
9722
10126
  mixed?: boolean
9723
10127
  /**
9724
- * Strip all metadata from image.
10128
+ * Which metadata to retain.
9725
10129
  */
9726
- strip?: boolean
10130
+ keep?: ForeignKeep | Flag
9727
10131
  /**
9728
10132
  * Background value.
9729
10133
  */
@@ -9732,6 +10136,10 @@ declare module Vips {
9732
10136
  * Set page height for multipage save.
9733
10137
  */
9734
10138
  page_height?: number
10139
+ /**
10140
+ * Filename of icc profile to embed.
10141
+ */
10142
+ profile?: string
9735
10143
  }): void;
9736
10144
 
9737
10145
  /**
@@ -9780,18 +10188,14 @@ declare module Vips {
9780
10188
  * Level of cpu effort to reduce file size.
9781
10189
  */
9782
10190
  effort?: number
9783
- /**
9784
- * Icc profile to embed.
9785
- */
9786
- profile?: string
9787
10191
  /**
9788
10192
  * Allow mixed encoding (might reduce file size).
9789
10193
  */
9790
10194
  mixed?: boolean
9791
10195
  /**
9792
- * Strip all metadata from image.
10196
+ * Which metadata to retain.
9793
10197
  */
9794
- strip?: boolean
10198
+ keep?: ForeignKeep | Flag
9795
10199
  /**
9796
10200
  * Background value.
9797
10201
  */
@@ -9800,6 +10204,10 @@ declare module Vips {
9800
10204
  * Set page height for multipage save.
9801
10205
  */
9802
10206
  page_height?: number
10207
+ /**
10208
+ * Filename of icc profile to embed.
10209
+ */
10210
+ profile?: string
9803
10211
  }): void;
9804
10212
 
9805
10213
  /**