Imagick::distortImage()
Imagick::distortImage - Distorts an image using various distortion methods
Syntax
bool Imagick::distortImage (
int $method,
array $arguments,
bool $bestfit)
Arguments
- method - The method of image distortion. See distortion constants
- arguments - The arguments for this distortion method
- bestfit - Attempt to resize destination to fit distorted source
Description
Distorts an image using various distortion methods, by mapping color lookups of the source image to a new destination image usually of the same size as the source image, unless 'bestfit' is set to TRUE.
Version
PHP PECL imagick 2.0.1
Return value
Returns TRUE on success.