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?".
My IM version is: ImageMagick 6.9.6-3 Q16 x86_64 2016-11-05
My platform is: Linux
I am trying to place more than one animated gif image onto a static image. Everything is fine(no errors) except for the result. One of the animated gif images (left arrow gif image) 'blinks' as you'll see from the resulting image. The down arrow gif image animates fine.
The down arrow has 36 frames. The left arrow has only 28 frames. How many frames do you want in the result? Which input frames do you want to drop (or duplicate) to get that number?
In order to get a smooth animation result, frames have to be dropped or duplicated to an equal amount per gif image?
Hmm not sure which to drop or duplicate. Is it possible to duplicate frames of the one with the less frames to the gif that has the most frames? So in other words, the left arrow has 28, can we add more frames to it to make it 36 frames?
Well, I don't know what result you want. One input cycles in 28 frames and the other cycles in 36 frames.
If you want a result with 28 frames, you need to remove 8 frames from down arrow. If you want 36 frames you need to add 8 frames to left arrow. The added frames might duplicate one or more frames, or might be blank.
Another possibility is to have 252 frames in the output. Then one cycle of the output has exactly 9 cycles of left arrow and 7 cycles of down arrow.
If you are going to loop indefinitely, then you would be best with snibgo's suggestion of integer multiple of your frames such that they produce the same counts.
Also you may have trouble if the delays are not the same in the two animations. See my link above to Anthony's notes about merging