CImage:Rows (CImage:GetRows)


The Rows method returns the number of rows in the CImage. The row count equals the number of pixels along the vertical axis. This is the value of the FITS NAXIS2 keyword.

Syntax

nRows = CImage:Rows()

bullet.gif    On failure, this method returns 0.

bullet.gif    If the image has 1 dimension, this method returns 1.

Example

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

     nRows = I:Rows()

returns the value nRows = 1024.

Related Topics

CImage class

Cols


Mira Pro x64 Script User's Guide, v.8.80 Copyright Ⓒ 2025 Mirametrics, Inc. All Rights Reserved.