--- a/Depth24Image.st Mon Jun 11 10:50:04 2018 +0100
+++ b/Depth24Image.st Wed Jul 11 16:58:29 2018 +0200
@@ -2,6 +2,7 @@
"
COPYRIGHT (c) 1993 by Claus Gittinger
+ COPYRIGHT (c) 2018 Patrik Svestka
All Rights Reserved
This software is furnished under a license and may be used
@@ -3352,6 +3353,14 @@
^ -8
!
+isDepth24Image
+ "return true if the image is instance of Depth24Image"
+ (self bitsPerPixel == 24) ifTrue:[^ true].
+ ^ false
+
+ "Created: / 16-04-2018 / 16:53:00 / svestkap"
+!
+
redBitsOf:pixel
"given a pixel-value, return the red component as byteValue (0..255)"