Animation overlay bug 6.6.9-4

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Marcel71
Posts: 49
Joined: 2011-04-13T13:57:34-07:00
Authentication code: 8675308

Animation overlay bug 6.6.9-4

Post by Marcel71 »

Hi,

When i take the following animation:
http://85.17.236.222/IM/oie_animation.gif

And add a background with it:
http://85.17.236.222/IM/oie_canvas.png

Give the following code:

Code: Select all

convert oie_canvas.png null: ( oie_animation.gif -coalesce -repage 0x0+85+68 ) -layers composite -set dispose background -delete 0 -loop 0 out.gif
The result is that the first frame from the animation is missing.

So i thought, let me skip the -delete 0

Code: Select all

convert oie_canvas.png null: ( oie_animation.gif -coalesce -repage 0x0+85+68 ) -layers composite -set dispose background -loop 0 out.gif
Result is that the delay time between the first and second frame are gone:
http://85.17.236.222/IM/out.gif

Is it possible to be fixed?

Regards,
Marcel
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Animation overlay bug 6.6.9-4

Post by anthony »

Marcel71 wrote:The result is that the first frame from the animation is missing.
So i thought, let me skip the -delete 0
Correct. you deleted the first frame.
Result is that the delay time between the first and second frame are gone:
Now that is weird. It should not be happening.

Found the fault! It was not transferred as at that point in the code it thought it was a simple two image composite not a multi-image source compose. Added a test and transfer of delay (time) and iterations (loop) attributes. The disposal is not copied as that does not make sense, as this should only be done to a fully-coalesce 'film-like' image sequence.

Fix will appear in the next IM v6 release.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Marcel71
Posts: 49
Joined: 2011-04-13T13:57:34-07:00
Authentication code: 8675308

Re: Animation overlay bug 6.6.9-4

Post by Marcel71 »

Hi Anthony,

Thanks a lot, this will make a lot of people happy again :)

And i want to thank you, and all of the team, for making and maintaining Imagemagick.
It is being used for more then 5 years now at my (also free to use) site :)

Regards,
Marcel
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Animation overlay bug 6.6.9-4

Post by anthony »

You will need to upgrade to IMv6.6.9-5 when released.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply