Distort ARC MagickWand PHP

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
Feniksss
Posts: 6
Joined: 2012-04-09T06:36:35-07:00
Authentication code: 8675308

Distort ARC MagickWand PHP

Post by Feniksss » 2012-05-17T03:46:37-07:00

Hi!

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

el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: Distort ARC MagickWand PHP

Post by el_supremo » 2012-05-17T08:49:16-07:00

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
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.

Feniksss
Posts: 6
Joined: 2012-04-09T06:36:35-07:00
Authentication code: 8675308

Re: Distort ARC MagickWand PHP

Post by Feniksss » 2012-05-17T23:31:06-07:00

In the examples used by MagickDistortImage method. This method not support in PHP!

User avatar
fmw42
Posts: 25274
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Distort ARC MagickWand PHP

Post by fmw42 » 2012-05-18T09:12:12-07:00

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

Post Reply