Page 1 of 1

Distort ARC MagickWand PHP

Posted: 2012-05-17T03:46:37-07:00
by Feniksss
Hi!

How to create distort arc text on MagickWand PHP???

Re: Distort ARC MagickWand PHP

Posted: 2012-05-17T08:49:16-07:00
by el_supremo
Have a look at my "Eight text effects in one function" in http://members.shaw.ca/el.supremo/MagickWand/. The third effect uses arc distortion. It's in C, but it should be easy convert to PHP.

Pete

Re: Distort ARC MagickWand PHP

Posted: 2012-05-17T23:31:06-07:00
by Feniksss
In the examples used by MagickDistortImage method. This method not support in PHP!

Re: Distort ARC MagickWand PHP

Posted: 2012-05-18T09:12:12-07:00
by fmw42
Feniksss wrote:In the examples used by MagickDistortImage method. This method not support in PHP!
Imagick is not up to date and not well maintained. So it is not surprising that things are missing. You can either use -wave thought not quite the same (more like an arch than an arc). Or use PHP exec() to be able to use -distort arc.

see
http://www.imagemagick.org/Usage/warping/#wave