LoadInfoFormat property (ILEADRasterIO)
RasterFileConstants LoadInfoFormat | |
Overview |
Refer to Loading a Bitmap from a File. |
Remarks
Specifies format of the image data to be loaded. LEADTOOLS uses this value only if it fails to find the value in the file header. You can use this and the other LoadInfo... properties for loading raw FAX data (CCITT Group 3 or Group 4).
LEADTOOLS checks the LoadInfoFormat property first. If this property has a non-zero value, LEADTOOLS uses the other LoadInfo... property values. Keep in mind that when these values are used, LEADTOOLS does not validate the data in the file. If you want LEADTOOLS to validate the data, you must set the LoadInfoFormat property to zero.
The following are valid formats:
FILE_FAX_G3_1D |
Raw FAX, compressed using CCITT group 3, 1 dimension. |
FILE_FAX_G3_2D |
Raw FAX, compressed using CCITT group 3, 2 dimensions. |
FILE_FAX_G4 |
Raw FAX, compressed using CCITT group 4. |
FILE_RAW |
Raw uncompressed data. |
FILE_RAW_RLE4 |
Raw RLE4 compressed, 4 bit data. (Read only) |
FILE_RAW_RLE8 |
Raw RLE8 compressed, 8 bit data. (Read only |
FILE_RAW_BITFIELDS |
Raw BITFIELD data, 16 or 32-bit data. (Read only) |
FILE_RAW_PACKBITS |
Raw PackBits compression. (Read only) |
See Also