File tree 1 file changed +15
-2
lines changed
1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -705,7 +705,7 @@ public static function newFromFile(
705
705
}
706
706
707
707
/**
708
- * Find the name of the load oepration vips will use to load a file, for
708
+ * Find the name of the load operation vips will use to load a file, for
709
709
* example "VipsForeignLoadJpegFile". You can use this to work out what
710
710
* options to pass to newFromFile().
711
711
*
@@ -757,7 +757,7 @@ public static function newFromBuffer(
757
757
}
758
758
759
759
/**
760
- * Find the name of the load oepration vips will use to load a buffer, for
760
+ * Find the name of the load operation vips will use to load a buffer, for
761
761
* example 'VipsForeignLoadJpegBuffer'. You can use this to work out what
762
762
* options to pass to newFromBuffer().
763
763
*
@@ -813,6 +813,19 @@ public static function newFromArray(
813
813
return self ::wrapResult ($ result );
814
814
}
815
815
816
+ /**
817
+ * Make an interpolator from a name.
818
+ *
819
+ * @param string $name Name of the interpolator.
820
+ *
821
+ * @return resource|null The interpolator, or null on error.
822
+ */
823
+ public static function newInterpolator (string $ name )
824
+ {
825
+ // added in 1.0.7 of the binary module
826
+ return vips_interpolate_new ($ name );
827
+ }
828
+
816
829
/**
817
830
* Create a new image from a constant.
818
831
*
You can’t perform that action at this time.
0 commit comments