--TEST-- Test Imagick, polynomialImage --SKIPIF-- --FILE-- newPseudoImage( $imagick->getImageWidth(), $imagick->getImageHeight(), "gradient:black-white" ); $imagick->addImage($imagick_gradient); $terms = [1, 1, 0.1, 0.1]; // is 2 x (number_terms + 1 (the constant). $imagick->polynomialImage($terms); $imagick->writeImage(__DIR__ . '/polynomialImage_output_image.png'); $imagick->getImageBlob(); } polynomialImage() ; echo "Ok"; ?> --EXPECTF-- Ok