C++ API help

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

Re: C++ API help

Post by magick »

Grab the ImageMagick source distribution. In the ImageMagick-6.4.3/Magick++ folder you will find two sub folders, demo and tests. They contain numerous short working programs that illustrate different features of Magick++.
bheadlim

Re: C++ API help

Post by bheadlim »

May i know is there any example for PerspectiveDistortion in Magick++?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: C++ API help

Post by anthony »

In the Magick++ forum for text effects, there was a use of using Arc distort. Persective is just a different type of distort and you should be able to apply it the same way that Arc was, just with control point parameters rather than angles and radii.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
bheadlim

Re: C++ API help

Post by bheadlim »

I tried to search in the forum but could not get anything. Can you pointed out the link please?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: C++ API help

Post by anthony »

http://redux.imagemagick.org/discourse- ... =6&t=11586

The post by el_supremo, or the second block of code.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
bheadlim

Re: C++ API help

Post by bheadlim »

That is the code for Magick Wand, a C API. May i know is there any Magick++, C++ API examples?
Post Reply