Creating a Cleared Frame GIF Animation in the MagickWand API

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.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Creating a Cleared Frame GIF Animation in the MagickWand

Post by anthony »

garyb wrote:
el_supremo wrote:I've reworked my previous code so that it does not use MagickCore and it uses CompareImageLayers instead of Deconstruct.
The latest iteration of the code is in my MagickWand examples at:
http://members.shaw.ca/el.supremo/MagickWand/bunny.htm

Pete
Thanks for posting that Pete! Is there any other official MagickWand way to delete a frame at a specific index, rather than loop through the entire image sequence and copy out every frame except 0? Seems kind of silly/overhead.

Gary
I have also linked to this discussion and to the magick wand example from the IM examples area.

Pete the title should be "Adding a Static Background to a Cleared Frame Animation"
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
garyb
Posts: 11
Joined: 2012-03-07T14:00:46-07:00
Authentication code: 8675308

Re: Creating a Cleared Frame GIF Animation in the MagickWand

Post by garyb »

Very informative links, thank you!!
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: Creating a Cleared Frame GIF Animation in the MagickWand

Post by el_supremo »

Done. Thanks.

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.
garyb
Posts: 11
Joined: 2012-03-07T14:00:46-07:00
Authentication code: 8675308

Re: Creating a Cleared Frame GIF Animation in the MagickWand

Post by garyb »

Thanks for the pruning. :)
Post Reply