Current Path : /usr/opt/php72/share/pear/test/imagick/tests/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/opt/php72/share/pear/test/imagick/tests/skipprobefourier.inc |
<?php $canCallFourier = false; ob_start(); echo("skip failed to probe fourier functions"); try { $imagick = new \Imagick(); $imagick->newPseudoImage(640, 480, "magick:logo"); $imagick->resizeimage(512, 512, \Imagick::FILTER_LANCZOS, 1); $imagick->forwardFourierTransformImage(true); $canCallFourier = true; } catch(\Exception $e) { //fftw probably not available. } ob_end_clean(); if ($canCallFourier == false) { die("skip fourier function seems unavailable"); } ?>