CImage:Bytes
The Bytes method returns the number of bytes in the image. This is the product of the number of rows, number of columns, and the number of bytes per pixel.
nBytes = CImage:Bytes() |
On failure, this method returns 0.
Suppose a CImage object I is attached to an image having 1000 columns x 1000 rows and "ushort" pixel type . Then
nBytes = I:Bytes()
returns the value nRows = 2000000.
CImage class, PixelBytes, Pixel Type
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.