CImage:PixelBytes
The PixelBytes method returns the number of bytes per pixel in the image. These quantities are describe in the Mira Data Types table.
nPixelBytes = CImage:PixelBytes() |
On failure, this method returns 0.
Suppose a CImage object I is attached to an image with data type 32 bit real. Then
nPixelBytes = I:PixelBytes()
returns the value nPixelBytes = 4.