making image transitions programmatically,how to ?

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
umen
Posts: 12
Joined: 2012-06-27T06:49:24-07:00
Authentication code: 13

making image transitions programmatically,how to ?

Post by umen »

Hello all
im beginner with this great lib .
i need to make programmatically transitions between 2 images , with simple effect .
is there any link to tutorial / example / books to give me good kickstarter on the subject ?
Thanks
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: making image transitions programmatically,how to ?

Post by fmw42 »

The trick is to create masks that you can program to change to composite the images together in a loop to create an animation. see my scripts, fxtransitions and transitions at the link below. Sorry I only know shell scripting of the command line. I do not know any API.
umen
Posts: 12
Joined: 2012-06-27T06:49:24-07:00
Authentication code: 13

Re: making image transitions programmatically,how to ?

Post by umen »

fred thanks ,
i know this site very good job you did there .
but i really need to make it work via c/c++ interface
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: making image transitions programmatically,how to ?

Post by el_supremo »

For the command line, see Anthony's examples of Colour and Resize Morphing at:
http://www.imagemagick.org/Usage/anim_mods/#morph

For the MagickWand API, see http://www.imagemagick.org/api/magick-i ... orphImages

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.
umen
Posts: 12
Joined: 2012-06-27T06:49:24-07:00
Authentication code: 13

Re: making image transitions programmatically,how to ?

Post by umen »

Thanks allot i will try it , by the way it can be also in perl or other interface that i can convert easily to c++ /c
also question i have is , does each command line operations can be translated to API operation ?
Post Reply