CImage:PixelBytes
The PixelBytes method returns the number of bytes per pixel in the image. These quantities are describe in the Pixel Types table.
nPixelBytes = CImage:PixelBytes() |
On failure, this method returns 0.
Suppose a CImage object I is attached to an image with pixel type 32 bit real. Then
returns the value nPixelBytes = 4.
CImage class, Cols, Rows, Pixel Type
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.