home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / graphics / 14083 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.8 KB

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