Imagick::gammaImage> <Imagick::functionImage
Last updated: Fri, 30 Dec 2011

Imagick::fxImage

(PECL imagick 2.0.0)

Imagick::fxImageEvaluate expression for each pixel in the image

Descrição

Imagick Imagick::fxImage ( string $expression [, int $channel = Imagick::CHANNEL_ALL ] )

Evaluate expression for each pixel in the image. Consult » The Fx Special Effects Image Operator for more information.

Parâmetros

expression

The expression.

channel

Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channeltype constants using bitwise operators. Refer to this list of channel constants.

Valor Retornado

Retorna TRUE em sucesso.

Erros

Dispara ImagickException em erro.



User Contributed Notes
Imagick::fxImage
dvb
28-Jan-2011 01:56
I don't know why my previous comment was deleted...

please visit the following question at stackoverflow.com to see how to use this function to make a fish-eye effect:
http://bit.ly/gTCUb6

Also, the return value isn't documented correctly, the function return the actual Imagick object.

Imagick::gammaImage> <Imagick::functionImage
Last updated: Fri, 30 Dec 2011