MNG with alpha transparency

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
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: MNG with alpha transparency

Post by glennrp » 2006-08-09T14:30:40-07:00

sajochin wrote: I have some PNGs with (alpha) transparency (0.png, 1.png, 2.png) that I convert to MNG with
convert -delay 100 0.png 1.png 2.png a.mng
and
convert -delay 100 0.png -delay 200 1.png 2.png b.mng

When I animate a.mng, each frame replaces the previous one.
With animate b.mng however, each new frame is combined with the previous ones (which is not what I want).

Is there a way to use different delays for frames and still have new frames replace previous frames?

(my ImageMagick version is 6.2.4)

Try
  • convert -delay 100 -dispose 2 0.png -delay 200 1.png 2.png b.mng

Post Reply