--- a/GIFReader.st Tue Sep 09 11:43:30 2003 +0200
+++ b/GIFReader.st Tue Sep 09 13:30:24 2003 +0200
@@ -756,7 +756,10 @@
image depth ~~ 8 ifTrue:[
Image errorSignal handle:[:ex |
- ex return.
+ ^ Image cannotRepresentImageSignal
+ raiseWith:image
+ errorString:('GIF failed to convert image to depth8: ', ex description).
+ "/ ex return.
] do:[
convertedImage := Image newForDepth:8.
convertedImage fromImage:image photometric:#palette.
@@ -985,7 +988,7 @@
!GIFReader class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview2/GIFReader.st,v 1.86 2003-09-01 14:47:30 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview2/GIFReader.st,v 1.87 2003-09-09 11:30:24 penk Exp $'
! !
GIFReader initialize!