PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → scanning documents. ..
scanning documents. ..
Started by ken knight, Nov., 04 2005 11:10 PM - 2 replies
Posted on November, 04 2005 - 11:10 PM
Does Windev support AutoDocument Feeders with its twain implementation?

I currently have it successfully scanning multiple documents using a "FOR" loop if you tell it how many up front, however, I'd like a little more "Smooth" process than someone possibly miscounting the pages.

Thanks,
Ken
Posted on November, 04 2005 - 2:56 PM
nevermind...

I found the "Twainstate()" and it's doing the trick perfectly.

Ken
Posted on November, 04 2005 - 8:55 PM
Now I've encountered another issue.

I'm setting the user interface to "False" for the twain device. When doing this, the images that are scanned in b/w mode come out inverted. I wrote some code to load the image to a control, do a "dInvertColor" on the control and then dSaveImageBMP back out, however, that has now stopped working!!

Is there any way to control the inversion directly without having to jump through hoops?

Thanks,
Ken