#DOCUMENTATION by cg
class: Depth48Image
comment/format in:
#pixelAtX:y:
#pixelAtX:y:put:
--- a/Depth48Image.st Tue Aug 30 16:05:54 2016 +0200
+++ b/Depth48Image.st Tue Aug 30 16:06:01 2016 +0200
@@ -71,6 +71,8 @@
pixelAtX:x y:y
"retrieve a pixel at x/y; return a pixelValue.
+ The interpretation of the returned value depends on the photometric
+ and the colormap. See also Image>>atX:y:)
Pixels start at x=0 , y=0 for upper left pixel, end at
x = width-1, y=height-1 for lower right pixel.
The pixel value contains r/g/b in msb order (i.e. r at high, a at low bits)"
@@ -88,6 +90,8 @@
pixelAtX:x y:y put:aPixelValue
"set the pixel at x/y to aPixelValue.
+ The interpretation of the pixelValue depends on the photometric
+ and the colormap. (see also: Image>>atX:y:put:)
Pixels start at x=0 , y=0 for upper left pixel, end at
x = width-1, y=height-1 for lower right pixel"