PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → scanning documents. ..
scanning documents. ..
Débuté par ken knight, 04 nov. 2005 23:10 - 2 réponses
Posté le 04 novembre 2005 - 23:10
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
Posté le 04 novembre 2005 - 14:56
nevermind...

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

Ken
Posté le 04 novembre 2005 - 20:55
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