#REFACTORING by stefan
authorStefan Vogel <sv@exept.de>
Fri, 07 Oct 2016 10:14:54 +0200
changeset 7596 9e63984bd73f
parent 7595 c77d718d3d94
child 7597 5abdbcd771e5
#REFACTORING by stefan class: Image added: #nColorsUsed
Image.st
--- a/Image.st	Wed Oct 05 17:33:49 2016 +0200
+++ b/Image.st	Fri Oct 07 10:14:54 2016 +0200
@@ -13751,6 +13751,10 @@
 
 !
 
+nColorsUsed
+    ^ self realUsedValues size
+!
+
 pixelArraySpecies
     "return the kind of pixel-value container in rowAt:/rowAt:put: methods"