3 Replies - 14051 Views - Last Post: 18 October 2011 - 01:32 AM

#1 Sergio Tapia  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1253
  • View blog
  • Posts: 4,168
  • Joined: 27-January 10

C# open source TWAIN wrapper.

Posted 01 December 2010 - 08:48 AM

If you've ever wanted to interface with a scanner in a .NET application you'll know how hard it is to find any shred of code for it.

The most prominent project I've found is this CodeProject article, dated 2002!
http://www.codeproje...waindotnet.aspx

With this project, we'll be updating NETMaster's original code (written for .NET 1) to the newer versions. We'll also improve the calls of the wrapper so it's much more developer friendly. Ideally we would have a single .dll file and have him call methods like:

Image myImage = SharpTwain.GetImageFromScanner();


See how easy it would be to use it?

A LOT of the legwork has already been written by NETMaster, basically we'd be changing the way the project is structured and also using newer constructs that weren't available back in 2002.

I'm looking for people that are interested in the project and would like to contribute. This will be 100% open source and hopefully will become THE library to use when wanting to interface with a scanner.

Is This A Good Question/Topic? 0
  • +

Replies To: C# open source TWAIN wrapper.

#2 Sergio Tapia  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1253
  • View blog
  • Posts: 4,168
  • Joined: 27-January 10

Re: C# open source TWAIN wrapper.

Posted 02 December 2010 - 06:26 AM

Here's some screenshots of how it's coming along.

Posted Image

Posted Image


I'm having trouble understanding the .Acquire() method and how it actually GETS an image from the scanner. I really hope some of the veterans here can shed some light and help out the project. :) I know Martyr and Baavgai are leet ninjas, they can probably come in and solve it in 2 minutes. :P

Follow the link in the first post and download the source code for the project we're wrapping. The .Acquire() method is in the TwainLib.Twain class.

Please help! :D We can help a lot of people with this.
Was This Post Helpful? 0
  • +
  • -

#3 flysakura  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 16-May 11

Re: C# open source TWAIN wrapper.

Posted 16 May 2011 - 12:41 AM

I recommend you try Dynamic .NET TWAIN, which is a TWAIN SDK optimized for VB.NET and C# projects.
Was This Post Helpful? 0
  • +
  • -

#4 ComboAlex  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 34
  • Joined: 31-July 09

Re: C# open source TWAIN wrapper.

Posted 18 October 2011 - 01:32 AM

Hey Sergio!

Nice initiative man! How it's the project going along? Did you have any success? I also need this stuff. Read my post here to know what I am talking about. Maybe we can help eachother.

Regards,

Alex

This post has been edited by ComboAlex: 18 October 2011 - 01:33 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1