CImage:Transpose


The Transpose method flips the image about its main diagonal, which is the line extending between pixel (1,1) and (nCols,nRows). This transformation preserves the world coordinate calibration of the image, if one exists.

Syntax

bResult = CImage:Transpose( bResize=false )

bullet.gif    bResize controls whether the image shape is changed by transposing.

bullet.gif    On success, this method returns true.

bullet.gif    On failure, this method returns false.

Remarks

If the optional bResize argument is omitted or set to false, the image retains its original number of columns and rows.

Related Topics

CImage class, Hflip, Vflip


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