CImage:Bytes CImage:Darktime

CImage:Cols


The Cols method returns the number of columns in the CImage. The column count equals the number of pixels along the horizontal axis.

Syntax

nCols = CImage:Cols()

    On failure, this method returns 0.

Example

Suppose a CImage object I is attached to an image having 1024 columns. Then

     nCols = I:Cols()

returns the value nCols = 1024.

Related Topics

CImage, Rows