CImage:Bytes

CImage:Axes


The Axes method returns the number of axes in the CImage.

Syntax

nAxes = CImage:Axes()

    On failure, this method returns 0.

Example

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

     nAxes = I:Axes()

returns the value nAxes = 2.

Related Topics

CImage, Cols, Rows