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
 Wrong Scan-Resolution/ IEvolution
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Claus.Gerlach

Germany
18 Posts

Posted - Feb 12 2015 :  09:02:27  Show Profile  Reply
Hello,

I'm using your IEvolution-Component in a simple scan-application.
The twain-dialog is disabled. In this application users have the option to scan with 100, 500 or 1200 DPI.
All works fine with one exception:
If we use the "EPSOPN Perfection V370 Photo"-scanner, scanning with 1200 DPI results in a 72 DPI Image. This happens under OS Windows XP (32bit) and Windows 8.1 (64bit).
Debugging the program shows the following remarkable values:
...TWainParams.XResolution.RangeMax = 1184
...TWainParams.YResolution.RangeMax = 1184

This value is far away from the maxium you can set with the native program EPSON SCAN.


Best Regards

Claus Gerlach

xequte

38615 Posts

Posted - Feb 12 2015 :  18:34:23  Show Profile  Reply
Hi Claus

So you are setting XResolution.CurrentValue/YResolution.CurrentValue to 1200 and it is returned as 72DPI? Does have settings work correctly, such as 1184?

Have you compared with another Twain scanning app on that system?

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

Claus.Gerlach

Germany
18 Posts

Posted - Feb 13 2015 :  05:32:58  Show Profile  Reply
Hi,

settings like 100 or 500 DPI work fine with my app.
Other apps like XnView scan via TWAIN 1200 DPI in right way.

Best Regards
Claus Gerlach
Go to Top of Page

xequte

38615 Posts

Posted - Feb 13 2015 :  13:56:05  Show Profile  Reply
Hi Claus

It depends on how the driver handles out of range values, but you should ensure you set CurrentValue to <= RangeMax.

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