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

bSuccess = CImage:Transpose()

bSuccess = CImage:Transpose( bResize )

where

    bResize controls whether the image shape is changed by transfindfisting. If bResize is omitted or set to false, the image retains its original number of columns and rows.

    bSuccess is the returned success code. On success it is true, otherwise false.

Related Topics

Hflip

Vflip

CImage class