[Help]MagickDistortImage()

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
kimert

[Help]MagickDistortImage()

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: [Help]MagickDistortImage()

Post 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.
kimert

Re: [Help]MagickDistortImage()

Post by kimert »

How to use PHP to achieve MagickDistortImage () results?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: [Help]MagickDistortImage()

Post by magick »

Until we get MagickDistortImage() into MagickWandForPHP, use distorts by calling the convert program from PHP.
Post Reply