author | Stefan Vogel <sv@exept.de> |
Fri, 05 Jul 1996 23:07:28 +0200 | |
changeset 315 | 506e0ce38534 |
parent 312 | 7bddcba30299 |
child 331 | 304f9c439efa |
permissions | -rw-r--r-- |
0 | 1 |
" |
6 | 2 |
COPYRIGHT (c) 1991 by Claus Gittinger |
26 | 3 |
All Rights Reserved |
0 | 4 |
|
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
||
13 |
ImageReader subclass:#GIFReader |
|
307
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
14 |
instanceVariableNames:'redMap greenMap blueMap maskPixelValue' |
154 | 15 |
classVariableNames:'' |
16 |
poolDictionaries:'' |
|
259 | 17 |
category:'Graphics-Images-Support' |
0 | 18 |
! |
19 |
||
307
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
20 |
!GIFReader class methodsFor:'documentation'! |
0 | 21 |
|
21 | 22 |
copyright |
23 |
" |
|
24 |
COPYRIGHT (c) 1991 by Claus Gittinger |
|
26 | 25 |
All Rights Reserved |
21 | 26 |
|
27 |
This software is furnished under a license and may be used |
|
28 |
only in accordance with the terms of that license and with the |
|
29 |
inclusion of the above copyright notice. This software may not |
|
30 |
be provided or otherwise made available to, or used by, any |
|
31 |
other person. No title to or ownership of the software is |
|
32 |
hereby transferred. |
|
33 |
" |
|
34 |
! |
|
35 |
||
0 | 36 |
documentation |
37 |
" |
|
38 |
this class provides methods for loading and saving GIF pictures. |
|
21 | 39 |
It has been tested with some different GIF87a pictures, I dont |
0 | 40 |
know, if it works with other GIF versions. |
41 |
GIF extension blocks are not handled. |
|
42 |
||
43 |
GIF file writing is not implemented (use TIFF). |
|
44 |
||
21 | 45 |
legal stuff extracted from GIF87a documentation: |
0 | 46 |
|
47 |
CompuServe Incorporated hereby grants a limited, non-exclusive, royalty-free |
|
48 |
license for the use of the Graphics Interchange Format(sm) in computer |
|
49 |
software; computer software utilizing GIF(sm) must acknowledge ownership of the |
|
50 |
Graphics Interchange Format and its Service Mark by CompuServe Incorporated, in |
|
51 |
User and Technical Documentation. |
|
52 |
||
53 |
The Graphics Interchange Format(c) is the Copyright property of |
|
54 |
CompuServe Incorporated. GIF(sm) is a Service Mark property of |
|
55 |
CompuServe Incorporated. |
|
194 | 56 |
|
57 |
[See also:] |
|
234 | 58 |
Image Form Icon |
194 | 59 |
BlitImageReader FaceReader JPEGReader PBMReader PCXReader |
210 | 60 |
ST80FormReader SunRasterReader TargaReader TIFFReader WindowsIconReader |
209 | 61 |
XBMReader XPMReader XWDReader |
220 | 62 |
|
63 |
[author:] |
|
64 |
Claus Gittinger |
|
0 | 65 |
" |
66 |
! ! |
|
67 |
||
307
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
68 |
!GIFReader class methodsFor:'initialization'! |
26 | 69 |
|
70 |
initialize |
|
198 | 71 |
"install myself in the Image classes fileFormat table |
72 |
for the `.gif', and '.GIF' extensions." |
|
73 |
||
26 | 74 |
Image fileFormats at:'.gif' put:self. |
75 |
Image fileFormats at:'.GIF' put:self. |
|
198 | 76 |
|
77 |
"Modified: 23.4.1996 / 12:28:16 / cg" |
|
26 | 78 |
! ! |
79 |
||
307
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
80 |
!GIFReader class methodsFor:'testing'! |
1 | 81 |
|
82 |
isValidImageFile:aFileName |
|
83 |
"return true, if aFileName contains a GIF image" |
|
84 |
||
85 |
|id inStream| |
|
86 |
||
9 | 87 |
inStream := self streamReadingFile:aFileName. |
1 | 88 |
inStream isNil ifTrue:[^ false]. |
89 |
||
90 |
id := String new:6. |
|
91 |
inStream nextBytes:6 into:id. |
|
92 |
inStream close. |
|
93 |
||
94 |
(id = 'GIF87a') ifFalse:[ |
|
174 | 95 |
(id startsWith:'GIF') ifFalse:[^ false]. |
1 | 96 |
|
174 | 97 |
id ~= 'GIF89a' ifTrue:[ |
271 | 98 |
'GIFReader: not a GIF87a/GIF89a file - hope that works' infoPrintCR. |
174 | 99 |
] |
1 | 100 |
]. |
101 |
^ true |
|
174 | 102 |
|
271 | 103 |
"Modified: 20.5.1996 / 10:32:34 / cg" |
1 | 104 |
! ! |
105 |
||
0 | 106 |
!GIFReader methodsFor:'reading from file'! |
107 |
||
1 | 108 |
checkGreyscaleColormap |
239 | 109 |
"return true, if colormap is actually a greymap. |
110 |
Could be used to convert it into a greyScale image - which is not yet done." |
|
1 | 111 |
|
20 | 112 |
|sz "{ Class: SmallInteger }" |
113 |
redVal| |
|
114 |
||
115 |
sz := redMap size. |
|
116 |
||
117 |
1 to:sz do:[:i | |
|
239 | 118 |
redVal := redMap at:i. |
119 |
redVal ~~ (greenMap at:i) ifTrue:[^ false]. |
|
120 |
redVal ~~ (blueMap at:i) ifTrue:[^ false]. |
|
1 | 121 |
]. |
122 |
^ true |
|
239 | 123 |
|
124 |
"Modified: 2.5.1996 / 17:54:40 / cg" |
|
1 | 125 |
! |
126 |
||
43 | 127 |
fromStream:aStream |
192 | 128 |
"read a stream containing a GIF image. |
129 |
Leave image description in instance variables." |
|
43 | 130 |
|
131 |
|byte index flag count |
|
132 |
colorMapSize bitsPerPixel scrWidth scrHeight |
|
133 |
hasColorMap hasLocalColorMap interlaced id |
|
134 |
leftOffs topOffs codeLen |
|
135 |
compressedData compressedSize |
|
307
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
136 |
tmp srcOffset dstOffset isGif89 |
64 | 137 |
h "{ Class: SmallInteger }"| |
43 | 138 |
|
139 |
inStream := aStream. |
|
140 |
aStream binary. |
|
141 |
||
142 |
"GIF-files are always lsb (intel-world)" |
|
143 |
byteOrder := #lsb. |
|
144 |
||
145 |
id := String new:6. |
|
146 |
aStream nextBytes:6 into:id. |
|
147 |
||
148 |
"all I had for testing where GIF87a files; |
|
149 |
I hope later versions work too ..." |
|
150 |
||
154 | 151 |
isGif89 := false. |
43 | 152 |
(id ~= 'GIF87a') ifTrue:[ |
154 | 153 |
(id startsWith:'GIF') ifFalse:[ |
271 | 154 |
'GIFReader: not a gif file' infoPrintCR. |
154 | 155 |
^ nil |
156 |
]. |
|
157 |
id ~= 'GIF89a' ifTrue:[ |
|
271 | 158 |
'GIFReader: not a GIF87a/GIF89a file - hope that works' infoPrintCR. |
154 | 159 |
] |
43 | 160 |
]. |
161 |
||
162 |
"get screen dimensions (not used)" |
|
163 |
||
164 |
scrWidth := aStream nextShortMSB:false. |
|
165 |
scrHeight := aStream nextShortMSB:false. |
|
166 |
||
167 |
"get flag byte" |
|
168 |
flag := aStream nextByte. |
|
169 |
hasColorMap := (flag bitAnd:2r10000000) ~~ 0. |
|
170 |
"bitsPerRGB := ((flag bitAnd:2r01110000) bitShift:-4) + 1. " |
|
171 |
"colorMapSorted := ((flag bitAnd:2r00001000) ~~ 0. " |
|
172 |
bitsPerPixel := (flag bitAnd:2r00000111) + 1. |
|
173 |
colorMapSize := 1 bitShift:bitsPerPixel. |
|
174 |
||
175 |
"get background (not used)" |
|
176 |
aStream nextByte. |
|
177 |
||
178 |
"aspect ratio (not used)" |
|
179 |
aStream nextByte. |
|
180 |
||
181 |
"get colorMap" |
|
182 |
hasColorMap ifTrue:[ |
|
154 | 183 |
self readColorMap:colorMapSize |
43 | 184 |
]. |
185 |
||
154 | 186 |
"skip gif89a extensions " |
43 | 187 |
byte := aStream nextByte. |
154 | 188 |
[byte == 16r21] whileTrue:[ |
189 |
"/ extension |
|
190 |
self readExtension:aStream. |
|
191 |
byte := aStream nextByte. |
|
192 |
]. |
|
193 |
||
194 |
"must now be image separator" |
|
43 | 195 |
(byte ~~ 16r2C) ifTrue:[ |
271 | 196 |
('GIFReader: corrupted gif file (no IMAGESEP): ' , (byte printStringRadix:16)) infoPrintCR. |
154 | 197 |
^ nil |
43 | 198 |
]. |
199 |
||
200 |
"get image data" |
|
201 |
leftOffs := aStream nextShortMSB:false. |
|
202 |
topOffs := aStream nextShortMSB:false. |
|
203 |
width := aStream nextShortMSB:false. |
|
204 |
height := aStream nextShortMSB:false. |
|
205 |
||
206 |
" |
|
207 |
'width ' print. width printNewline. |
|
208 |
'height ' print. height printNewline. |
|
209 |
" |
|
210 |
||
211 |
"another flag byte" |
|
212 |
flag := aStream nextByte. |
|
213 |
interlaced := (flag bitAnd:2r01000000) ~~ 0. |
|
214 |
hasLocalColorMap := (flag bitAnd:2r10000000) ~~ 0. |
|
215 |
"localColorMapSorted := (flag bitAnd:2r00100000) ~~ 0. " |
|
216 |
||
217 |
"if image has a local colormap, this one is used" |
|
218 |
||
219 |
hasLocalColorMap ifTrue:[ |
|
154 | 220 |
"local descr. overwrites" |
221 |
bitsPerPixel := (flag bitAnd:2r00000111) + 1. |
|
222 |
colorMapSize := 1 bitShift:bitsPerPixel. |
|
43 | 223 |
" 'local colormap' printNewline. " |
154 | 224 |
"overwrite colormap" |
225 |
self readColorMap:colorMapSize |
|
43 | 226 |
]. |
227 |
||
228 |
"get codelen for decompression" |
|
229 |
codeLen := aStream nextByte. |
|
230 |
||
231 |
compressedData := ByteArray uninitializedNew:(aStream size). |
|
232 |
||
233 |
"get compressed data" |
|
234 |
index := 1. |
|
235 |
count := aStream nextByte. |
|
236 |
[count notNil and:[count ~~ 0]] whileTrue:[ |
|
154 | 237 |
aStream nextBytes:count into:compressedData startingAt:index. |
238 |
index := index + count. |
|
239 |
count := aStream nextByte |
|
43 | 240 |
]. |
241 |
compressedSize := index - 1. |
|
242 |
||
64 | 243 |
h := height. |
244 |
data := ByteArray new:((width + 1) * (h + 1)). |
|
271 | 245 |
"/ 'GIFReader: decompressing ...' infoPrintCR. |
43 | 246 |
|
247 |
self class decompressGIFFrom:compressedData |
|
154 | 248 |
count:compressedSize |
249 |
into:data |
|
250 |
startingAt:1 |
|
251 |
codeLen:(codeLen + 1). |
|
43 | 252 |
|
253 |
interlaced ifTrue:[ |
|
312 | 254 |
'GIFREADER: deinterlacing ...' infoPrintCR. |
154 | 255 |
tmp := ByteArray new:(data size). |
43 | 256 |
|
154 | 257 |
"phase 1: 0, 8, 16, 24, ..." |
43 | 258 |
|
154 | 259 |
srcOffset := 1. |
260 |
0 to:(h - 1) by:8 do:[:dstRow | |
|
261 |
dstOffset := dstRow * width + 1. |
|
262 |
tmp replaceFrom:dstOffset to:(dstOffset + width - 1) |
|
263 |
with:data startingAt:srcOffset. |
|
264 |
srcOffset := srcOffset + width. |
|
265 |
]. |
|
43 | 266 |
|
154 | 267 |
"phase 2: 4, 12, 20, 28, ..." |
43 | 268 |
|
154 | 269 |
4 to:(h - 1) by:8 do:[:dstRow | |
270 |
dstOffset := dstRow * width + 1. |
|
271 |
tmp replaceFrom:dstOffset to:(dstOffset + width - 1) |
|
272 |
with:data startingAt:srcOffset. |
|
273 |
srcOffset := srcOffset + width. |
|
274 |
]. |
|
43 | 275 |
|
154 | 276 |
"phase 3: 2, 6, 10, 14, ..." |
43 | 277 |
|
154 | 278 |
2 to:(h - 1) by:4 do:[:dstRow | |
279 |
dstOffset := dstRow * width + 1. |
|
280 |
tmp replaceFrom:dstOffset to:(dstOffset + width - 1) |
|
281 |
with:data startingAt:srcOffset. |
|
282 |
srcOffset := srcOffset + width. |
|
283 |
]. |
|
43 | 284 |
|
154 | 285 |
"phase 4: 1, 3, 5, 7, ..." |
43 | 286 |
|
154 | 287 |
1 to:(h - 1) by:2 do:[:dstRow | |
288 |
dstOffset := dstRow * width + 1. |
|
289 |
tmp replaceFrom:dstOffset to:(dstOffset + width - 1) |
|
290 |
with:data startingAt:srcOffset. |
|
291 |
srcOffset := srcOffset + width. |
|
292 |
]. |
|
43 | 293 |
|
154 | 294 |
data := tmp. |
295 |
tmp := nil |
|
43 | 296 |
]. |
297 |
||
298 |
photometric := #palette. |
|
299 |
samplesPerPixel := 1. |
|
300 |
bitsPerSample := #(8). |
|
301 |
||
302 |
"check if only grey values are used, |
|
303 |
could make it a greyscale image if so (currently not done)" |
|
304 |
||
83 | 305 |
"/ self checkGreyscaleColormap ifTrue:[ |
306 |
"/ self makeGreyscale |
|
307 |
"/ ]. |
|
308 |
||
239 | 309 |
colorMap := Colormap |
310 |
redVector:redMap |
|
311 |
greenVector:greenMap |
|
312 |
blueVector:blueMap. |
|
43 | 313 |
|
307
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
314 |
maskPixelValue notNil ifTrue:[ |
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
315 |
"/ |
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
316 |
"/ ok, there is a maskValue |
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
317 |
"/ build a Depth1Image for it. |
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
318 |
"/ |
315
506e0ce38534
Moved #buildMask from GIFReader to ImageReader>>#buildMaskFromColor:
Stefan Vogel <sv@exept.de>
parents:
312
diff
changeset
|
319 |
self buildMaskFromColor:maskPixelValue |
307
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
320 |
]. |
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
321 |
|
43 | 322 |
" |
323 |
GIFReader fromFile:'../fileIn/bitmaps/claus.gif |
|
324 |
GIFReader fromFile:'../fileIn/bitmaps/garfield.gif' |
|
325 |
" |
|
154 | 326 |
|
315
506e0ce38534
Moved #buildMask from GIFReader to ImageReader>>#buildMaskFromColor:
Stefan Vogel <sv@exept.de>
parents:
312
diff
changeset
|
327 |
"Modified: 5.7.1996 / 12:32:33 / cg" |
506e0ce38534
Moved #buildMask from GIFReader to ImageReader>>#buildMaskFromColor:
Stefan Vogel <sv@exept.de>
parents:
312
diff
changeset
|
328 |
"Modified: 5.7.1996 / 17:32:01 / stefan" |
135 | 329 |
! |
330 |
||
331 |
makeGreyscale |
|
332 |
"not yet implemented/needed" |
|
333 |
! |
|
334 |
||
335 |
readColorMap:colorMapSize |
|
336 |
"get gif colormap consisting of colorMapSize entries" |
|
337 |
||
338 |
|sz "{ Class: SmallInteger }"| |
|
339 |
||
340 |
redMap := ByteArray uninitializedNew:colorMapSize. |
|
341 |
greenMap := ByteArray uninitializedNew:colorMapSize. |
|
342 |
blueMap := ByteArray uninitializedNew:colorMapSize. |
|
239 | 343 |
|
135 | 344 |
sz := colorMapSize. |
345 |
1 to:sz do:[:i | |
|
239 | 346 |
redMap at:i put:(inStream nextByte). |
347 |
greenMap at:i put:(inStream nextByte). |
|
348 |
blueMap at:i put:(inStream nextByte) |
|
307
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
349 |
]. |
239 | 350 |
|
307
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
351 |
"Modified: 21.6.1996 / 12:32:43 / cg" |
154 | 352 |
! |
353 |
||
354 |
readExtension:aStream |
|
239 | 355 |
"get gif89 extension - this is currently ignored" |
154 | 356 |
|
357 |
|type blockSize subBlockSize |
|
304 | 358 |
aspNum aspDen left top width height cWidth cHeight fg bg |
359 |
animationType animationTime animationMask| |
|
154 | 360 |
|
361 |
type := aStream nextByte. |
|
362 |
type == $R asciiValue ifTrue:[ |
|
239 | 363 |
"/ |
154 | 364 |
"/ Ratio extension |
239 | 365 |
"/ |
271 | 366 |
'GIFREADER: ratio extension ignored' infoPrintCR. |
154 | 367 |
blockSize := aStream nextByte. |
368 |
(blockSize == 2) ifTrue:[ |
|
369 |
aspNum := aStream nextByte. |
|
370 |
aspDen := aStream nextByte |
|
371 |
] ifFalse:[ |
|
372 |
aStream skip:blockSize |
|
373 |
]. |
|
374 |
"/ eat subblocks |
|
375 |
||
376 |
[(subBlockSize := aStream nextByte) > 0] whileTrue:[ |
|
377 |
aStream skip:subBlockSize |
|
239 | 378 |
]. |
379 |
^ self |
|
380 |
]. |
|
381 |
||
382 |
type == 16rFE ifTrue:[ |
|
383 |
"/ |
|
384 |
"/ comment extension |
|
385 |
"/ |
|
271 | 386 |
'GIFREADER: comment extension ignored' infoPrintCR. |
239 | 387 |
[(blockSize := aStream nextByte) ~~ 0] whileTrue:[ |
388 |
aStream skip:blockSize |
|
389 |
]. |
|
390 |
^ self |
|
391 |
]. |
|
392 |
||
393 |
type == 16r01 ifTrue:[ |
|
394 |
"/ |
|
395 |
"/ plaintext extension |
|
396 |
"/ |
|
271 | 397 |
'GIFREADER: plaintext extension ignored' infoPrintCR. |
239 | 398 |
subBlockSize := aStream nextByte. |
399 |
left := aStream nextShortMSB:false. |
|
400 |
top := aStream nextShortMSB:false. |
|
401 |
width := aStream nextShortMSB:false. |
|
402 |
height := aStream nextShortMSB:false. |
|
403 |
cWidth := aStream nextByte. |
|
404 |
cHeight := aStream nextByte. |
|
405 |
fg := aStream nextByte. |
|
406 |
bg := aStream nextByte. |
|
407 |
aStream skip:12. |
|
408 |
[(subBlockSize := aStream nextByte) > 0] whileTrue:[ |
|
409 |
aStream skip:subBlockSize |
|
410 |
]. |
|
411 |
^ self |
|
412 |
]. |
|
413 |
||
414 |
type == 16rF9 ifTrue:[ |
|
415 |
"/ |
|
416 |
"/ graphic control extension |
|
417 |
"/ |
|
307
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
418 |
"/ 'GIFREADER: graphic control extension ignored' infoPrintCR. |
304 | 419 |
subBlockSize := aStream nextByte. |
305 | 420 |
|
421 |
"/ type=1 means: animationMask is transparent pixel |
|
422 |
"/ to be implemented in Image ... |
|
423 |
||
304 | 424 |
animationType := aStream nextByte. |
425 |
animationTime := aStream nextShortMSB:false. |
|
426 |
animationMask := aStream nextByte. |
|
307
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
427 |
|
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
428 |
animationType == 1 ifTrue:[ |
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
429 |
maskPixelValue := animationMask. |
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
430 |
"/ 'GIFREADER: mask: ' infoPrint. (maskPixelValue printStringRadix:16) infoPrintCR. |
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
431 |
]. |
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
432 |
|
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
433 |
[(subBlockSize := aStream nextByte) > 0] whileTrue:[ |
239 | 434 |
aStream skip:subBlockSize |
435 |
]. |
|
436 |
^ self |
|
437 |
]. |
|
438 |
||
439 |
type == 16rFF ifTrue:[ |
|
440 |
"/ |
|
441 |
"/ application extension |
|
442 |
"/ |
|
271 | 443 |
'GIFREADER: application extension ignored' infoPrintCR. |
239 | 444 |
[(subBlockSize := aStream nextByte) > 0] whileTrue:[ |
445 |
aStream skip:subBlockSize |
|
446 |
]. |
|
447 |
^ self |
|
448 |
]. |
|
449 |
||
450 |
"/ |
|
451 |
"/ unknown extension |
|
452 |
"/ |
|
271 | 453 |
'GIFREADER: unknown extension ignored' infoPrintCR. |
239 | 454 |
[(subBlockSize := aStream nextByte) > 0] whileTrue:[ |
455 |
aStream skip:subBlockSize |
|
154 | 456 |
] |
457 |
||
307
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
458 |
"Modified: 21.6.1996 / 12:44:25 / cg" |
0 | 459 |
! ! |
43 | 460 |
|
307
9eaeaca798a5
create a mask-image, if present
Claus Gittinger <cg@exept.de>
parents:
305
diff
changeset
|
461 |
!GIFReader class methodsFor:'documentation'! |
135 | 462 |
|
463 |
version |
|
315
506e0ce38534
Moved #buildMask from GIFReader to ImageReader>>#buildMaskFromColor:
Stefan Vogel <sv@exept.de>
parents:
312
diff
changeset
|
464 |
^ '$Header: /cvs/stx/stx/libview2/GIFReader.st,v 1.39 1996-07-05 21:07:28 stefan Exp $' |
135 | 465 |
! ! |
43 | 466 |
GIFReader initialize! |