Skip to content

Commit cf920e5

Browse files
authored
Update docs and enums for upcoming libvips 8.17 (#271)
1 parent 693250c commit cf920e5

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

src/ImageAutodoc.php

+6-2
Original file line numberDiff line numberDiff line change
@@ -427,12 +427,14 @@
427427
* @throws Exception
428428
* @method static Image matload(string $filename, array $options = []) Load mat from file.
429429
* @throws Exception
430-
* @method Image matrixinvert(array $options = []) Invert an matrix.
430+
* @method Image matrixinvert(array $options = []) Invert a matrix.
431431
* @throws Exception
432432
* @method static Image matrixload(string $filename, array $options = []) Load matrix.
433433
* @throws Exception
434434
* @method static Image matrixload_source(Source $source, array $options = []) Load matrix.
435435
* @throws Exception
436+
* @method Image matrixmultiply(Image $right, array $options = []) Multiply two matrices.
437+
* @throws Exception
436438
* @method void matrixprint(array $options = []) Print matrix.
437439
* @throws Exception
438440
* @method void matrixsave(string $filename, array $options = []) Save image to matrix.
@@ -567,6 +569,8 @@
567569
* @throws Exception
568570
* @method Image remainder_const(float[]|float $c, array $options = []) Remainder after integer division of an image and a constant.
569571
* @throws Exception
572+
* @method Image remosaic(string $old_str, string $new_str, array $options = []) Rebuild an mosaiced image.
573+
* @throws Exception
570574
* @method Image replicate(integer $across, integer $down, array $options = []) Replicate an image.
571575
* @throws Exception
572576
* @method Image resize(float $scale, array $options = []) Resize an image.
@@ -589,7 +593,7 @@
589593
* @throws Exception
590594
* @method Image scRGB2XYZ(array $options = []) Transform scRGB to XYZ.
591595
* @throws Exception
592-
* @method Image scRGB2sRGB(array $options = []) Convert an scRGB image to sRGB.
596+
* @method Image scRGB2sRGB(array $options = []) Convert scRGB to sRGB.
593597
* @throws Exception
594598
* @method Image scale(array $options = []) Scale an image to uchar.
595599
* @throws Exception

src/Intent.php

+1
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,5 @@ abstract class Intent
5353
const RELATIVE = 'relative';
5454
const SATURATION = 'saturation';
5555
const ABSOLUTE = 'absolute';
56+
const AUTO = 'auto';
5657
}

src/Kernel.php

+2
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,6 @@ abstract class Kernel
5555
const MITCHELL = 'mitchell';
5656
const LANCZOS2 = 'lanczos2';
5757
const LANCZOS3 = 'lanczos3';
58+
const MKS2013 = 'mks2013';
59+
const MKS2021 = 'mks2021';
5860
}

0 commit comments

Comments
 (0)