File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -436,7 +436,22 @@ public function testImageConvertPngToAvif(): void
436436 {
437437 $ this ->handler ->withFile ($ this ->origin . 'ci-logo.png ' );
438438 $ this ->handler ->convert (IMAGETYPE_AVIF );
439- $ this ->handler ->save ($ this ->root . 'ci-logo.avif ' );
439+ $ rc = $ this ->handler ->save ($ this ->root . 'ci-logo.avif ' );
440+
441+ echo "\n\n" ;
442+ var_dump ($ rc );
443+ var_dump ($ this ->root );
444+ var_dump ($ this ->root . 'ci-logo.avif ' );
445+ if (is_file ($ this ->root . 'ci-logo.avif ' ) {
446+ echo "filesize: " . filesize ($ this ->root . 'ci-logo.avif ' ) . "\n" ;
447+ } else {
448+ echo "is_file fail \n" ;
449+ }
450+ var_dump (exif_imagetype ($ this ->root . 'ci-logo.avif ' ));
451+ var_dump ( IMAGETYPE_AVIF );
452+ echo "\n\n" ;
453+
454+
440455 $ this ->assertSame (IMAGETYPE_AVIF , exif_imagetype ($ this ->root . 'ci-logo.avif ' ));
441456 }
442457
You can’t perform that action at this time.
0 commit comments