|
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.
Syntax
On failure,
this method returns 0.
Example
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.
Related Topics
CImage class
PixelBytes
Pixel Type
Mira Pro x64 Script User's Guide, v.8.76 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.
|