Re: unix and mng composer
"Glenn Randers-Pehrson <glennrp>" <[email protected]> Mon, 14 Jun 2004 13:13:40 -0400
| Newsgroups | gmane.comp.graphics.mng.general |
|---|---|
| Message-ID | <[email protected]> |
Agneta Schick wrote:
> > > I want to make a dot blink so all I want to do is put two pngs ('on'
> > > and 'off') together (one png is a world map of earthquakes - dots-
> > > and the second png is the one earthquake which blinks). That's all
> > > I want. So I'm looking for a composer which can be started at the
> > > command line with a time option.
For efficiency you probably want three PNGS
1. The world earthquake map
2. The one earthquake "on"
3. The one earthquake "off"
First display the map, then loop between the (presumably
much smaller PNGs) "on" and "off" images. The MNG structure would
resemble
MHDR # tick length defines framing rate (don't need FRAM chunk)
IHDR ... IEND # full map
SAVE
TERM # looping data
SEEK
DEFI 0 # location, assume "on" and "off" have same dimensions
IHDR ... IEND # "on" image
IHDR ... IEND # "off" image
MEND
I don't think ImageMagick can manage this complexity though, so you'd
need to try one of the others.
Glenn
--
Send the message body "help" to [email protected]