twain drivers

  • Thread starter Thread starter Konrad
  • Start date Start date
K

Konrad

Hi

Can you point me articles concerning
using of twain drivers for grabbing
image from camera.

Thanks
Konrad
 
..NET has no (not yet?) classes for imaging devices...

You have to use [heavy] PInvoke/Interop with the Win32 Imaging APIs or
any (third-party) COM-Components

check my TWAIN C# sample:
http://www.codeproject.com/dotnet/twaindotnet.asp

or for Windows XP only, my WIA Scripting sample
http://www.codeproject.com/dotnet/wiascriptingdotnet.asp
(For XP SP1, there is a new WIA-Automation component)

PLEASE NOTE:
my samples just show the very basic Interop technology,
are NOT complete and you have to understand TWAIN / WIA!

And there is 'Managed C++', you can use it to
write wrappers for any classic Win32/C++ code:
http://msdn.microsoft.com/library/en-us/dncscol/html/csharp12192002.asp


Or check third-party (I did not test any):
http://www.accusoft.com/imaging/imagegear/igp_about.asp
http://www.accusoft.com/imaging/imagegear/ig_netbeta.asp
http://www.leadtools.com/home2/VertMkts/LTDotNET.htm
http://www.pegasusimaging.com/twainpro.htm
http://www.data-tech.com/Products/ImageMan/imaging.asp
http://www.cfdev.com/activescan/
http://www.dosadi.com/
 
Thanku you very much for answer.
On one of links you point me I have found
well twain driver but is little problem.
I want to grab picture on disk and if I run
example program which call function
acquire there is dialog of my camera displayed
and only from it I can grab image.
I wish that after calling acquire I have
picture on disk.
How to avoid displaing my camera dialog
window?

Thanks
Konrad
 
How to avoid displaing my camera dialog window?

The TWAIN specification document has:
DG_CONTROL / DAT_USERINTERFACE / MSG_ENABLEDS (ShowUI == FALSE)
but maybe it doesn't work for all devices.


Note again, you have to understand the TWAIN specifications
to use/extend my samples....
 
Back
Top