equal
deleted
inserted
replaced
1 "{ Encoding: utf8 }" |
1 "{ Encoding: utf8 }" |
2 |
2 |
3 " |
3 " |
4 COPYRIGHT (c) 1993 by Claus Gittinger |
4 COPYRIGHT (c) 1993 by Claus Gittinger |
|
5 COPYRIGHT (c) 2018 Patrik Svestka |
5 All Rights Reserved |
6 All Rights Reserved |
6 |
7 |
7 This software is furnished under a license and may be used |
8 This software is furnished under a license and may be used |
8 only in accordance with the terms of that license and with the |
9 only in accordance with the terms of that license and with the |
9 inclusion of the above copyright notice. This software may not |
10 inclusion of the above copyright notice. This software may not |
2584 ] |
2585 ] |
2585 ]. |
2586 ]. |
2586 ^ super colorFromValue:pixelValue |
2587 ^ super colorFromValue:pixelValue |
2587 ! |
2588 ! |
2588 |
2589 |
|
2590 isDepth8Image |
|
2591 "return true if the image is instance of Depth8Image" |
|
2592 (self bitsPerPixel == 8) ifTrue:[^ true]. |
|
2593 ^ false |
|
2594 |
|
2595 "Created: / 16-04-2018 / 17:01:10 / svestkap" |
|
2596 ! |
|
2597 |
2589 nColorsUsed |
2598 nColorsUsed |
2590 ^ colorMap size |
2599 ^ colorMap size |
2591 ! |
2600 ! |
2592 |
2601 |
2593 realUsedValues |
2602 realUsedValues |