#FEATURE by cg
authorClaus Gittinger <cg@exept.de>
Tue, 22 Aug 2017 17:41:49 +0200
changeset 8083 681440310b59
parent 8082 dd2850cfa80b
child 8084 95a21362ceba
#FEATURE by cg class: Depth24Image added: #numAlphaBits #numBlueBits #numGreenBits #numRedBits
Depth24Image.st
--- a/Depth24Image.st	Thu Aug 17 12:48:57 2017 +0200
+++ b/Depth24Image.st	Tue Aug 22 17:41:49 2017 +0200
@@ -3352,6 +3352,30 @@
     ^ -8
 !
 
+numAlphaBits
+    ^ 0
+
+    "Created: / 22-08-2017 / 17:41:07 / cg"
+!
+
+numBlueBits
+    ^ 8
+
+    "Created: / 22-08-2017 / 17:41:19 / cg"
+!
+
+numGreenBits
+    ^ 8
+
+    "Created: / 22-08-2017 / 17:41:15 / cg"
+!
+
+numRedBits
+    ^ 8
+
+    "Created: / 22-08-2017 / 17:41:12 / cg"
+!
+
 redBitsOf:pixel
     "given a pixel-value, return the red component as byteValue (0..255)"