animated gif is all black

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
besthiker
Posts: 1
Joined: 2014-10-16T08:14:06-07:00
Authentication code: 6789

animated gif is all black

Post by besthiker »

I produce an animated gif using
mogrify -format png -page A4 -trim -density 100 -rotate "270<" fluffy.ps
and then
convert -delay 15 *.png -loop 0 myanimation.gif

on my mac (Version: ImageMagick 6.8.9-8 Q16 x86_64 2014-10-07) the convert command works. On linux (ImageMagick 6.8.9-8 Q16 x86_64 2014-09-29 ), the animated gif is black. Each individual image looks fine on the mac and on linux. You can see them here.

http://www.esrl.noaa.gov/psd/data/movie ... otwork.gif
http://www.esrl.noaa.gov/psd/data/movie ... .works.gif

I narrowed down the issue to convert as the same pngs worked on my mac and not linux. I included the mogrify command just in case. I need the command to work on linux.
It did in our previous convert version.
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: animated gif is all black

Post by glennrp »

Looking at the output from "identify -verbose", the one that works has
  • Page geometry: 1041x842+98+0
for every frame, while the one that fails has
  • Page geometry: 1041x842+98+65305
So it's displaying OK, but the interesting part is off screen. You can use the +repage option to get rid of the offsets.
Post Reply