equal
deleted
inserted
replaced
4234 oldImage := self image. |
4234 oldImage := self image. |
4235 |
4235 |
4236 prevMode := colorMapMode value. |
4236 prevMode := colorMapMode value. |
4237 |
4237 |
4238 newColorMap := self class listOfColorMaps at:aMode. |
4238 newColorMap := self class listOfColorMaps at:aMode. |
4239 depth := (newColorMap size log:2) asInteger. |
4239 aMode == #depth32 ifTrue:[ |
|
4240 depth := 32. |
|
4241 ] ifFalse:[ |
|
4242 depth := (newColorMap size log:2) asInteger. |
|
4243 ]. |
4240 |
4244 |
4241 useNearest := false. |
4245 useNearest := false. |
4242 depth == 1 ifTrue:[ |
4246 depth == 1 ifTrue:[ |
4243 quest := 'Keep colormap (or use standard B&W)' |
4247 quest := 'Keep colormap (or use standard B&W)' |
4244 ] ifFalse:[ |
4248 ] ifFalse:[ |