ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Very slow to scan via TWAIN
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

FLDelphi

19 Posts

Posted - Sep 09 2019 :  18:53:53  Show Profile  Reply
We're trying to solve a very troubling problem here. A user in the field reported very slow scanning, and we decided to get a similar printer model and we are also seeing very slow scanning.

I decided to build a bare-bones app in Delphi to see if I could limit factors. It is also a very slow scan.

What's interesting is during the scan process Delphi reports dozens of "Non-user Breakpoints". It seems to be trying to load FactorySettings, but I am at a loss trying to figure out what it wants.

See attached screenshot



This may not be the cause of the slow scan, but I figured it was a good place to start.

Using Delphi XE 3, ImageEn V 8.6.0, Windows 10, HP Laser Jet MFP M227

xequte

38615 Posts

Posted - Sep 10 2019 :  01:15:49  Show Profile  Reply
Hi

Does another third party app using the same driver also experience the slowness?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

FLDelphi

19 Posts

Posted - Sep 10 2019 :  11:11:40  Show Profile  Reply
Can you suggest a third party app that actually uses TWAIN? All I can find are apps that use WIA.

Found another interesting hint. While modifying the TwainParams.SelectedSource is very fast, modifying the TwainParams.PixelType is very slow. After the initial slowness of modifying the PixelType, other settings are back to being very fast (XYResolution, Brightness, Etc).
Go to Top of Page

xequte

38615 Posts

Posted - Sep 15 2019 :  19:01:32  Show Profile  Reply
Hi

The breakpoints are not within ImageEn, but the Twain driver, so I don't really have any good suggestions for you. Maybe another user has an idea...

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: