Animated GIF to BMP not working?

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
Martin Piper
Posts: 1
Joined: 2013-04-01T19:35:42-07:00
Authentication code: 6789

Animated GIF to BMP not working?

Post by Martin Piper »

I'm trying to use ImageMagick 6.8.3-10 2013-03-17 Q16 to convert an animated GIF to individual BMP frames.

Converting this GIF: Image
Using: c:\ImageMagick\convert.exe d:\Downloads\tumblr_lv91gcIdBO1r4ybdoo1_500.gif c:\temp\HorseJump\frm%05d.bmp
Results in 26 frames with lots of different frame sizes.
So you're thinking use -coalesce right?
The first frame is OK. The second frame however shifts upwards and incorrectly leaves about 40 pixels of the previous frame at the bottom. Frame 21 to 26 also do not render correctly and leave lots of the fish on the frame instead of animating them correctly.

What would the correct command line options to use to ensure all the frames are the same size and correctly rendered?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Animated GIF to BMP not working?

Post by snibgo »

It works fine in 6.8.3-0, but not 6.8.4-0. There have been recent fixes to bugs reading GIFs, see for example viewtopic.php?f=3&t=23074
snibgo's IM pages: im.snibgo.com
Post Reply