Forum Replies Created
- AuthorPosts
@alvise wrote:
I have read more accurately paragraph “Changing the Image Attributes” (TWAIN 1.9a spec, page 4-88) and you’re right: TW_IMAGEINFO can’t be used to set scanning parameters using the DG_IMAGE / DAT_IMAGELAYOUT / MSG_SET triplet.
I think that TW_IMAGEINFO structure can’t be used even with “DG_IMAGE / DAT_IMAGEINFO / MSG_SET” triplet. See same page.
@alvise wrote:
TW_IMAGEINFO, on the contrary, is exactly the structure containing the parameters that I want to set.
I just want to perform one simple task: scan a B&W letter size sheet at 200 dpi and get the uncompressed data.
Nevertheless, I’m quite sure that you should use a set of Capability negotiation commands. And yes all of your values in TW_IMAGEINFO structure are legitimate, but as I understand TWAIN doesn’t allow to use SET command with this structure.
Why are you using TW_IMAGEINFO structure with this triplet?
Shouldn’t it be the TW_IMAGELAYOUT structure?- AuthorPosts