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
 Sheet Feed Scan
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

graph_man

324 Posts

Posted - Jun 11 2018 :  17:04:47  Show Profile  Reply
When I scan an A5 or smaller page on the sheet feeder with my program set to A4, the missing part of the A4 page is filled with a Black Background. On old version of ImageEn, the missing part of the page would be filled with a White Background.

NOTE: This will only happen when an expected scan area is not sent by the scanner, so Sheet Feeder Only. I can not change to A5 to do the scan, because sometimes A4 and A5 or even DL go through together and I always want the end Digital Sheet size to be A4 regardless of the Source size.

ps
On the "glass flat-bed", the scanner runs from top to bottom. If there is no paper in part of the scanning area, it will just scan the backing plate which is white, so there is no issue. When using the "sheet feeder" and the paper is shorter (A5) than expected (A4), the digital page in my program is black.


Your assistance with resolving this would be much appreciated.

xequte

38128 Posts

Posted - Jun 12 2018 :  16:25:57  Show Profile  Reply
Hi

Do you recall what version you were using where the background was white?



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

graph_man

324 Posts

Posted - Jun 12 2018 :  16:27:50  Show Profile  Reply
I do not remember this
Go to Top of Page

xequte

38128 Posts

Posted - Jun 12 2018 :  19:03:43  Show Profile  Reply
Hi

Can you please turn on logging (by specifying a filename to LogFile), reproduce the problem and email me the log file:

https://www.imageen.com/help/TIETwainParams.LogFile.html



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

graph_man

324 Posts

Posted - Jun 19 2018 :  19:15:53  Show Profile  Reply
I have sent this file.
Go to Top of Page

xequte

38128 Posts

Posted - Jun 20 2018 :  00:53:22  Show Profile  Reply
Thanks, we'll take a look at your file shortly.

BTW, we tested this other day. One of our test scanners returns a black background for out-of-bounds areas. We get the same result with the standard scanning software, and also with ImageEn v5.0.0.

As far as we can determine, this is not a way to override the background that the scanner assigns to these areas. If you have information suggesting otherwise, please advise.



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

graph_man

324 Posts

Posted - Jun 20 2018 :  06:10:05  Show Profile  Reply
How to fix this issue?
Go to Top of Page

xequte

38128 Posts

Posted - Jun 20 2018 :  15:38:32  Show Profile  Reply
Hi

Are you able to get a different result with other scanning software?



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

graph_man

324 Posts

Posted - Jun 22 2018 :  05:33:29  Show Profile  Reply
Yes. Other scanner software (MS Paint or Brother CC4) does not place black on the page. It put's white there.
Go to Top of Page

xequte

38128 Posts

Posted - Jun 25 2018 :  17:01:36  Show Profile  Reply
Hi

MS Paint on our systems only use WIA not Twain. At any rate, it still gives us black borders (under Windows 7 and Windows 10), so I'm not sure why you are seeing differently:




The Brother CC4 does give a white background in our testing, but it is using a custom interface, rather than Twain.

You can replicate this using:

ImageEnView.IO.TwainParams.VisibleDialog := False;
ImageEnView.IO.Acquire();

Which does remove the white border in ImageEn (in our tests).


As we cannot see any way to remove the black border in Twain, we believe it is the scanner or the scanner software that controls it. It's possible that some software flood fills the black area. You could try doing that, but it could be risky (i.e. fill an area that is supposed to be black).



Nigel
Xequte Software
www.imageen.com

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: