Q: How can I change the image file format?
A: You can use the ICAP_IMAGEFILEFORMAT capability to retrieve the available image file formats for a scanner. You can use the SetCapabilityOneNumValue method the specify the image file format. When you scan to file, the scanner will genarate images depending on the image file format that is set. For example, if you specify the TWFF_TIF, the scanner will generate images in TIFF format. There are some scanners that disregard this capability. You can get/set this capability without any error, but the scanner scans in the default image file format anyway.
Code example:
‘ Set ICAP_IMAGEFILEFORMAT
err = frmMain.BiTwain.SetCapabilityOneNumValue(ICAP_IMAGEFILEFORMAT, MSG_SET, CSng(EDTSET.Text))