function image_imagick_wave in Imagick 7
Waves an image
Parameters
$image: An image object. The $image->resource value will be modified by this call.
$amplitude: The amplitude of the wave effect.
$length: The length of the wave effect.
Return value
TRUE or FALSE, based on success.
File
- effects/
imagick.wave.inc, line 15
Code
function image_imagick_wave(stdClass $image, $amplitude, $length) {
return $image->resource
->waveImage($amplitude, $length);
}