?
Solved

source code to scan multiple images

Posted on 2016-08-06
6
Medium Priority
?
174 Views
Last Modified: 2016-08-13
Hello experts,
is it possible for you to send me very small simple example (source code) on how to scan multiple images ?
please preference
Visual basic net , or visual c
working with win 10
Regards,
0
Comment
Question by:RGuillermo
  • 3
  • 2
6 Comments
 
LVL 37

Expert Comment

by:Neil Russell
ID: 41745735
Define scan multiple images? From a scanner?
0
 
LVL 57

Accepted Solution

by:
Joe Winograd, EE MVE 2015&2016 earned 2000 total points
ID: 41745738
It depends on what scanning drivers you plan to use — ISIS, SANE, TWAIN, WIA/WIA2.0, etc. The most popular is TWAIN, and for that you can try the TWAIN samples here:
https://sourceforge.net/projects/twain-samples/

Also, I recommend the TWAIN Working Group site for learning more about TWAIN:
http://twain.org/

For WIA/WIA2.0, check the WIA Tutorial at the MSDN site:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms629859(v=vs.85).aspx

Regards, Joe
0
 

Author Comment

by:RGuillermo
ID: 41745901
our customer has bought SCANX this scanner uses flexible PHOSPHOR plates.

please see: http://www.airtechniques.com/product/scanx-swift/

This scanner can be fed manually with several phosphor plates. As many as you want in a row, 2 or 5 or ten... it simply continues scanning and sending data to the TWAIN driver....

Now normal twain drivers give the error OVERLOAD or not enough memory...

But the software that comes with the factory uses also normal twain and does not have this problem.

so its about the sentings and proper configuration of our app using twain...

I was able to find a working solution and its source code at this link
http://www.codeproject.com/Articles/1376/NET-TWAIN-image-scanner

it works just fine... but when I open the soources it simply gives a BAD IMAGE error and does not work at all making it impossible to control or integrate the lines....

That is why I am looking or other source example that we can study and adapt.


 NEILSR: I meant manually feeding several phospor plates in one scanning process....
That scanner does not stop scanning until the user CLICKS stop.

Then the our app is supposed to receive several individual images one per each plate.

There is our problem.. we get error messages... but clearly it has been done:

the example in
http://www.codeproject.com/Articles/1376/NET-TWAIN-image-scanner
its exe works just perfect... its only when we open the sources it gives an error when trying to run....
BAD IMAGE ERROR
OR could not find TWIN_32.DLL BUT ITS THERE!

Hope I made myself clear enough..


Joe Winograd: we are testing wit hthose options you sgave us. I will post feed back in a couple of days.

Thanks to all. Please send more ideas....
Regards,
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
LVL 57

Expert Comment

by:Joe Winograd, EE MVE 2015&2016
ID: 41745903
Looking forward to your feedback in a couple of days. Regards, Joe
0
 

Author Comment

by:RGuillermo
ID: 41754620
Joe Winograd
All the information of your links very interesting, but did not provide us with a practical position to start with.... never the less it did provide us with useful better understanting of twain wia and scanning. There is a lot out there and much of it requires serious time.

we found http://www.codeproject.com/Articles/1376/NET-TWAIN-image-scanner
and we are modifyng its code right now.
We need to deliver and have death lines so for the time being this is our only hope.
So far working and getting better
Best regards
0
 
LVL 57

Expert Comment

by:Joe Winograd, EE MVE 2015&2016
ID: 41754838
Thanks for the update — sounds like a very interesting project!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Printers have changed substantially in the last 30 or so years, not just in technical capabilities but in cost and usage as well.  Printers were originally used for interfacing with the operator, not necessarily for printing copy or pictures. In …
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses
Course of the Month17 days, 4 hours left to enroll

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question