Merge many layers containing animated gif

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

Post by anthony »

I applogies that I have no example yet for this type of animation joining.
I am planing it.

When combining two animations into the same time sequence, the first step as described is to make all animations use the same number of frames
and time delays. This of course will mean that the anmations may not always change from one frame to the next, but with the times syncronized thye can then be merged.

One of the new operators I plan to add to IM is a 'shuffle' operation.
That is take two sequences of equal length and suflle them together like a stack of cards. I also plan a special '-layers' option to do alpha composition on each pair of frames to merge them.

Untill then you wil hav eto seperate your time syncronized frames into seperate temporary images, and merge the appropraite pairs, before re creating the animation.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
howa

Post by howa »

hello, i also have this need

i think these kind of examples are very useful :oops:
howa

Post by howa »

even compiltcated method are okay, but at least, make this working....thanks !
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

It is more a question of getting time to do serious programming. I never seem to get any. Last two weekend was renovating a unit. This weekend I have to shift drive my daughter to Sydney (from Brisbane).

Not only do I want a shuffle, and create methods for -layers such as composite_pair (see above) composite_dst (overlay animation on static background) composite_src (equivelent to -draw image), but I also want to do a major expandsion of -append to allow justifications (vertically and horizontally, with a few other tricks).

I have written up the proposals in the IM Examples, under 'Future Developments'.

As I now have a good example to use for an animation append (all times already match), I will try to create that example this morning, using the currently available methods. It would however be easier with the "-shuffle -layers composite pairs".
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

The append side-by-side examples are now up on IM examples.
http://www.cit.gu.edu.au/~anthony/graph ... ns/#append

Enjoy... Looking for ways to find areas of differences over a whole animation.
Eg what areas change so separte animations can be spilt off for those areas.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

Also added proper spliting of a complex animation into seperate sub-animation images.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply