CImageView:GetFlipFITS
The GetFlipFITS method retrieves the state of the flag that controls whether FITS format images are displayed in the traditional sense, with row number increasing upward.
bTrue = CImageView:GetFlipFITS() |
The CImageView class defaults to displaying FITS images in the tradition sense—"unflipped", with row number increasing upward. Use this method to check the protocol before displaying the image. See additional remarks for the SetFlipFITS method. See FITS Image Orientation.
The following script fragment saves the FITS flip flag before displaying the image, then resets it afterward:
|
-- create a CImageView |
|
-- create a CImage |
|
-- load a FITS format image from a file |
|
-- retrieve the flag and save it |
|
-- change to "flipped" for this image |
|
-- display the image |
|
-- restore the FITS flip flag |