#DOCUMENTATION
authorClaus Gittinger <cg@exept.de>
Thu, 04 Feb 2016 17:12:09 +0100
changeset 7126 a81b992fd069
parent 7125 f37b7e5d26df
child 7127 adc098ec85e8
#DOCUMENTATION class: Image comment/format in: #examples
Image.st
--- a/Image.st	Thu Feb 04 17:10:23 2016 +0100
+++ b/Image.st	Thu Feb 04 17:12:09 2016 +0100
@@ -665,6 +665,21 @@
         ) edit
                                                                         [exEnd]
 
+      depth32 image with 8+8+8+8 rgba interpretation:
+                                                                        [exBegin]
+        ((Depth32Image
+             width:4 height:4
+             fromArray:#[ 
+                255 0 0 255       255 0 0 255       255 0 0 255       255 0 0 255
+                0 255 0 255       0 255 0 255       0 255 0 255       0 255 0 255
+                0 0 255 255       0 0 255 255       0 0 255 255       0 0 255 255
+                255 255 255 255   255 255 255 255   255 255 255 255   255 255 255 255 ])
+            photometric:#rgba;
+            samplesPerPixel:4;
+            bitsPerSample:#(8 8 8 8);
+            magnifiedBy:10
+        ) edit
+                                                                        [exEnd]
 "
 !