nFormat
Value indicating the format to use when saving one or more images to
one or more files. The available formats depend on whether or not the
data is acquired in compressed form or in uncompressed form. If the data
is uncompressed, that is if the ISIS
tags TAG_COMPRESSION has been set to TAG_COMPRESSION_NONE, any format
supported by LEADTOOLS is valid. For a list of these formats, refer to
Formats of Output Files.
If the data is compressed, the type of compression will determine the output
format. If a format that is incompatible with the current compression
is passed, an error will occur. Possible valid format values and the corresponding
compressions are:
FILE_CCITT |
[25] Tiff, compressed using CCITT. A file is saved in this format when TAG_COMPRESSION is set to TAG_COMPRESSION_MG3 and nFormat is set to either FILE_CCITT or FILE_FASTEST. |
FILE_CCITT_GROUP3_1DIM |
[27] TIFF, compressed using CCITT, group 3, 1 dimension. A file is saved in this format when TAG_COMPRESSION is set to TAG_COMPRESSION_G3 and nFormat is set to either FILE_CCITT_GROUP3_1DIM or FILE_FASTEST. |
FILE_CCITT_GROUP4 |
[29] TIFF, compressed using CCITT, group 4. A file is saved in this format when TAG_COMPRESSION is set to TAG_COMPRESSION_G4 and nFormat is set to either FILE_CCITT_GROUP4 or FILE_FASTEST. |
FILE_TIFLZW |
[17] TIFF, compressed using LZW. A file is saved in this format when TAG_COMPRESSION is set to TAG_COMPRESSION_LZW and nFormat is set to either FILE_TIFLZW or FILE_FASTEST. |
FILE_TIF_PACKBITS |
[87] TIFF, compressed using Packed Bits. A file is saved in this format when TAG_COMPRESSION is set to TAG_COMPRESSION_32771 and nFormat is set to either FILE_TIF_PACKBITS or FILE_FASTEST. |
FILE_FASTEST |
[105] Saves the file as a TIFF using the current compression from the scanner. |