CImage:Pixels
The Pixels method returns the number of pixels in the image. This is the product of the numbers of rows and columns.
nPixels = CImage:Pixels() |
On failure, this method returns 0.
Suppose a CImage object I is attached to an image having 1000 columns x 1000 rows. Then
nPixels = I:Pixels()
returns the value nRows = 1000000.