Depth64Image.st
branchjv
changeset 8426 e2051b1553f0
parent 7822 ecb148190095
--- a/Depth64Image.st	Mon Jun 11 10:50:04 2018 +0100
+++ b/Depth64Image.st	Wed Jul 11 16:58:29 2018 +0200
@@ -1,5 +1,6 @@
 "
  COPYRIGHT (c) 2009 by eXept Software AG
+ COPYRIGHT (c) 2018 Patrik Svestka
               All Rights Reserved
 
  This software is furnished under a license and may be used
@@ -140,6 +141,14 @@
 
 hasAlphaChannel
     ^ true
+!
+
+isDepth64Image
+    "return true if the image is instance of Depth64Image"
+   (self bitsPerPixel == 64) ifTrue:[^ true].  
+    ^ false
+
+    "Created: / 16-04-2018 / 17:01:31 / svestkap"
 ! !
 
 !Depth64Image class methodsFor:'documentation'!