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::fxImage
(PECL imagick 2.0.0)
Imagick::fxImage — Evaluate expression for each pixel in the image
Descrição
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
Imagick::fxImage
dvb
28-Jan-2011 01:56
28-Jan-2011 01:56

Imagick::functionImage