Imagick Image Library
PHP Manual

Imagick::shadeImage

(No version information available, might be only in CVS)

Imagick::shadeImage — Creates a 3D effect

Description

bool Imagick::shadeImage ( bool $gray , float $azimuth , float $elevation )
Warning

This function is currently not documented; only the argument list is available.

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Shines a distant light on an image to create a three-dimensional effect. You control the positioning of the light with azimuth and elevation; azimuth is measured in degrees off the x axis and elevation is measured in pixels above the Z axis.

Parameters

gray

azimuth

elevation

Return Values

Returns TRUE on success.


Imagick Image Library
PHP Manual