twaintwaindotnet

What capability is related to TWAIN document type?


I am trying scan images using twain.

I see most scanner manufactures' utilities have an option called "Document Type", "Color Matching", or "Scanner Type", whatever. (Not b/w or rgb option!)

They usually let me select between none, text, image, and mixed text & image modes, as seen in the screenshot:

enter image description here

Question:

What twain capability should I use, to switch between these document types?


Solution

  • Actually, twain doesn't define a "Document Type" capability natively. They are defined by each manufacturers (if any).

    For example, I found that some Kodak scanners use capability 0x80AC with type TWTY_UINT16 to define document type.