QAID # 1128 Published
Question / Problem:
What storage and compression formats should be used? How do I select the storage and compression formats?
Answer / Solution:
When scanning bitonal (black & white) images, the recommended file format is TIFF with CCITT Group 4 Compression. When scanning color images, the recommended file and compression format would be JPEG.
JPEG does not support the ability to store multiple images into one file. In these instances, many users will use the TIFF storage format with JPEG compression.
The storage format would be specified by the following KScan properties: IOStgFlt, IOStgFltExt and IOStgFltFilter.
The KScan.IOStgFlt property specifies the storage filter to use when saving the current image. Before setting this property, you can check the IOStgFltCap property to determine which storage filters are available.
The KScan.IOStgFltExt property returns the extension string for the current storage filter as specified by the KScan.IOStgFlt property. This is the value that would be recommended to be used as the image's saved filename's extension. But, it does not have to be used as the saved filename's extension.
The KScan.IOStgFltFilter property returns a string of available filter types to be used for the Common Dialog Filter property. The filter types are listed in the "List Files of Type" list box on the Open dialog box and the "Save File As Type" list box on the Save As dialog box.
The compression format would be specified by the KScan.IOCompression property. The associated capability property is KScan.IOCompressionCap.
This is covered in greater detail in the online KScan Help located in the Kofax ImageControls window including sample source code in Visual Basic. The storage and compression formats should be selected prior to starting the scan process (KScan.Action = KSACTIONSTART).