GXImage
Abstract image class for image with supported storage formats.
Constructors
Image ();
Create an empty GX:Image.
explicit Image ( const GSPixMapHandle pixHandle );
Create a GX::Image from a pixmap. The pixHandle parameter is the address of the source pixmap.
explicit Image ( const NewDisplay::NativeImage& nativeImage );
Create a GX::Image from a file. The nativeImage parameter is the address of the source native image.
explicit Image ( GSHandle sourceImage, const FTM::TypeID& fileFormat );
Create a GX::Image from a file. The sourceImage parameter is the address of the source image. The fileFormat parameter is the type of the source image. If the value of fileFormat is FTM::UnknownType, the constructor will search for the TypeID of the image.
explicit Image ( IO::Location fileLoc );
Create a GX::Image from a file. The fileLoc parameter is the location of the source file.