File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public function testPpmLoadBuffer()
43430 0 0
4444 " ;
4545
46- if (Vips \Utils::typeFromName ("VipsForeignLoadPpm " ) != 0 ) {
46+ if (Vips \Utils::typeFromName ("VipsForeignLoadPpmBuffer " ) != 0 ) {
4747 // the PPM loader is built in and should be available in most
4848 // libvips binaries
4949 $ image = Vips \Image::ppmload_buffer ($ ppm );
@@ -60,7 +60,7 @@ public function testBlockUntrusted()
6060 " ;
6161
6262 if (Vips \FFI ::atLeast (8 , 13 ) &&
63- Vips \Utils::typeFromName ("VipsForeignLoadPpm " ) != 0 ) {
63+ Vips \Utils::typeFromName ("VipsForeignLoadPpmBuffer " ) != 0 ) {
6464 Vips \Config::setBlockUntrusted (true );
6565
6666 // should fail
@@ -79,7 +79,7 @@ public function testBlock()
7979 " ;
8080
8181 if (Vips \FFI ::atLeast (8 , 13 ) &&
82- Vips \Utils::typeFromName ("VipsForeignLoadPpm " ) != 0 ) {
82+ Vips \Utils::typeFromName ("VipsForeignLoadPpmBuffer " ) != 0 ) {
8383 Vips \Config::setBlockUntrusted (true );
8484 Vips \Config::setBlock ("VipsForeignLoadPpm " , false );
8585
You can’t perform that action at this time.
0 commit comments