#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Tue, 22 Aug 2017 18:01:12 +0200
changeset 8088 4bcfce655248
parent 8087 24c87d7fdfdf
child 8089 9a9ae8e56007
#DOCUMENTATION by cg class: Image class comment/format in: #examples
Image.st
--- a/Image.st	Tue Aug 22 17:57:18 2017 +0200
+++ b/Image.st	Tue Aug 22 18:01:12 2017 +0200
@@ -529,6 +529,42 @@
         ) edit
                                                                         [exEnd]
 
+      depth4 image with 1/1/1 rgb interpretation:
+                                                                        [exBegin]
+        ((Depth4Image
+             width:4
+             height:4
+             fromArray:#[
+                            16r44 16r44
+                            16r22 16r22
+                            16r11 16r11
+                            16r00 16r00
+                        ])
+            photometric:#rgb;
+            samplesPerPixel:3;
+            bitsPerSample:#(1 1 1);
+            magnifiedBy:30
+        ) edit
+                                                                        [exEnd]
+
+      depth4 image with 1/2/1 rgb interpretation:
+                                                                        [exBegin]
+        ((Depth4Image
+             width:4
+             height:4
+             fromArray:#[
+                            16rCC 16r44
+                            16rAA 16r22
+                            16r99 16r11
+                            16r88 16r00
+                        ])
+            photometric:#rgb;
+            samplesPerPixel:3;
+            bitsPerSample:#(1 2 1);
+            magnifiedBy:30
+        ) edit
+                                                                        [exEnd]
+
       depth8 image with 3/3/2 rgb interpretation:
                                                                         [exBegin]
         ((Depth8Image