Page 1 of 1

[Help]MagickDistortImage()

Posted: 2008-12-22T20:26:27-07:00
by kimert
phpcode:
MagickDistortImage($resource,AffineProjectionDistortion, 6,set_rotate_affine(r,90), MagickTrue);

error:
Fatal error: Call to undefined function MagickDistortImage() in ...

Why?

phpinfo();
Image

Re: [Help]MagickDistortImage()

Posted: 2008-12-22T20:57:52-07:00
by magick
MagickDistortImage() is supported by the MagickWand C API but not the MagickWand for PHP wrapper. It might be supported in the IMagick PHP wrapper.

Re: [Help]MagickDistortImage()

Posted: 2008-12-22T21:38:00-07:00
by kimert
How to use PHP to achieve MagickDistortImage () results?

Re: [Help]MagickDistortImage()

Posted: 2008-12-22T21:55:22-07:00
by magick
Until we get MagickDistortImage() into MagickWandForPHP, use distorts by calling the convert program from PHP.