|
Hi! We are writing a sample program to drive our Kodak i65
scanners so that, when scanning Black & White doc, it will use TIFF Group 4
compression, while scanning Color doc, it will use JPEG compression. The source
code is attached for your reference.
We use the QueryFileSystem method to change the camera:
Session.QueryFileSystem fileSystem,
LTDTwainInterop.TwainFileSystemMessage_ChangeDirectory
When doing B&W or Color document separately (by pressing
“Scan BW” or “Scan Color” buttom, no error occur. However, the image shown was ALL BLACK:
When using Dual Stream, that is, setting the 4 cameras,
namely the Bitonal_Top, Bitonal_Bottom, Color_Top, Color_Bottom (pressing the
“Scan Both” bottom, the following error occur when trying to set the Color_Top
and Color_Bottom cameras:
Error: Input file name not found or
output file name invalid
Any idea on what are the causes of those 2 errors? Thanks!
|