GIFReader.st
changeset 192 947cc10f86dc
parent 174 7fafcc56378d
child 194 d4ecb23d7163
equal deleted inserted replaced
191:cb2815b77100 192:947cc10f86dc
   106     ].
   106     ].
   107     ^ true
   107     ^ true
   108 !
   108 !
   109 
   109 
   110 fromStream:aStream
   110 fromStream:aStream
   111     "read a GIF file"
   111     "read a stream containing a GIF image.
       
   112      Leave image description in instance variables."
   112 
   113 
   113     |byte index flag count
   114     |byte index flag count
   114      colorMapSize bitsPerPixel scrWidth scrHeight
   115      colorMapSize bitsPerPixel scrWidth scrHeight
   115      hasColorMap hasLocalColorMap interlaced id
   116      hasColorMap hasLocalColorMap interlaced id
   116      leftOffs topOffs codeLen
   117      leftOffs topOffs codeLen
   293     "
   294     "
   294      GIFReader fromFile:'../fileIn/bitmaps/claus.gif
   295      GIFReader fromFile:'../fileIn/bitmaps/claus.gif
   295      GIFReader fromFile:'../fileIn/bitmaps/garfield.gif'
   296      GIFReader fromFile:'../fileIn/bitmaps/garfield.gif'
   296     "
   297     "
   297 
   298 
   298     "Modified: 7.3.1996 / 19:16:21 / cg"
   299     "Modified: 22.4.1996 / 19:11:12 / cg"
   299 !
   300 !
   300 
   301 
   301 makeGreyscale
   302 makeGreyscale
   302     "not yet implemented/needed"
   303     "not yet implemented/needed"
   303 !
   304 !
   398 ! !
   399 ! !
   399 
   400 
   400 !GIFReader class methodsFor:'documentation'!
   401 !GIFReader class methodsFor:'documentation'!
   401 
   402 
   402 version
   403 version
   403     ^ '$Header: /cvs/stx/stx/libview2/GIFReader.st,v 1.23 1996-03-07 18:39:22 cg Exp $'
   404     ^ '$Header: /cvs/stx/stx/libview2/GIFReader.st,v 1.24 1996-04-22 17:39:03 cg Exp $'
   404 ! !
   405 ! !
   405 GIFReader initialize!
   406 GIFReader initialize!