home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!news.service.uci.edu!network.ucsd.edu!cogsci!crl!hartung
- From: hartung@crl.ucsd.edu (Jeffrey P. Hartung)
- Newsgroups: comp.graphics
- Subject: Re: Multiple Images within a GIF datastream
- Message-ID: <1846@cogsci.ucsd.EDU>
- Date: 21 Jan 93 05:29:50 GMT
- References: <710@esun179.gdc.com>
- Sender: news@cogsci.ucsd.EDU
- Organization: University of California, San Diego
- Lines: 30
-
- In article <710@esun179.gdc.com> haggerty@gdc.com writes:
- >
- > I'm writing a program which takes two GIF files and concatinates them into
- >one GIF file with multiple images. According to the GIF format specification,
- >a GIF datastream can contain more than one image....
-
- [stuff deleted]
-
- >However, the decoders I am using to display the GIF file, do not seem to
- >support multiple images in a GIF data stream. I have browsed the code of
- >these programs and they ignore whatever follows the first image.
- >Can anyone tell me if multiple images within a single GIF datastream
- >is supported? I am not experienced in Graphics... Am I missing something?
-
- Your understanding of the format is correct, but it is also the case that few
- GIF viewers / decoders actually handle multiple images. There used to be a
- Turbo C library (with source code) called something like GIFLIB on
- wsmr-simtel20.army.mil in the PD1:<MSDOS.GIF> directory. Look for a file
- called GIFLIB12.ZIP. However, as I recall, it supported Hercules graphics
- adaptors only, os you'll have to adapt the code to your hardware. I also
- recall that it was pretty slow code, but you might want to look at it to see
- how multiple images are handled, then apply the information to your own code.
-
-
-
- --
- --Jeff Hartung--
- Disclaimer: My opinions only, etc., etc., BLAH! BLAH! BLAH!...
- InterNet - hartung@crl.ucsd.edu BITNET - hartung@ucsd
- UUCP - ucsd!crl.ucsd.edu!hartung
-