Image file formats often specify more information than is represented by CgDeviceIndependentImage. For example, image data in BMP format can either be uncompressed or compressed using run-length encoding. The application might need to know the data compression technique used by a loaded image's file so that the image can later be unloaded in the same way. The image file format objects preserve this extra information as part of their state when an image is loaded, and use this information when an image is unloaded.Each of the CgFileFormat classes provides format-specific methods to access and change the extra information. These methods are outlined in the following sections.The following methods provide extra information preserved and used by the CgPCXFileFormat class:The following methods provide extra information preserved and used by the CgPMBMPFileFormat class:The following methods provide extra information preserved and used by the CgTIFFFileFormat class:The following methods provide extra information preserved and used by the CgWinBMPFileFormat class:
|