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
 Black scanned images in XP
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

AndyColmes

USA
351 Posts

Posted - Mar 05 2012 :  08:02:02  Show Profile  Reply
I have a TWAIN scanning program that runs fine in Windows 7 but when used in Windows XP, the scanned images are black. What are the possible reasons that could be the cause of this issue?

fab

1310 Posts

Posted - Mar 05 2012 :  11:25:30  Show Profile  Reply
Please could you test the compiled demo (i.e. ImageEn twain demo)?
Go to Top of Page

AndyColmes

USA
351 Posts

Posted - Mar 06 2012 :  05:48:26  Show Profile  Reply
Which demo uses the Automatic Document Feeder which I need in order to test?
Go to Top of Page

AndyColmes

USA
351 Posts

Posted - Mar 06 2012 :  06:01:59  Show Profile  Reply
I found AllAquire demo that has the ADF. How do you save the image as soon as the scan is complete? There used to be a OnAcquireBitmap event before that I could save the file.
Go to Top of Page

AndyColmes

USA
351 Posts

Posted - Mar 06 2012 :  06:49:27  Show Profile  Reply
Allacquire demo freezes after the first scan. But TwainDemo works ok. I still need to know how to save the image after the scan.
Go to Top of Page

fab

1310 Posts

Posted - Mar 06 2012 :  07:23:47  Show Profile  Reply
You could try "Multi\MultiView" demo. It acquire using ADF and allows you to save acquired pages.
Anyway if you see the image in the preview then the image is acquired (they are not "black").
Go to Top of Page

AndyColmes

USA
351 Posts

Posted - Mar 07 2012 :  02:46:44  Show Profile  Reply
Can I use the event OnFinishWork to automatically save the file after the image is acquired? Or do I have to resort to using TImageEnIO since it has a OnAcquireBitmap event? If yes, there is no demo that uses a TImageEnIO that I can test.
Go to Top of Page

AndyColmes

USA
351 Posts

Posted - Mar 07 2012 :  08:50:55  Show Profile  Reply
TwainDemo also has the same problem. Scans fine on first Acquire, but second and subsequent acquires, give black images and sometimes freezes the application. I am using the Plustek scanner in Windows XP.
Go to Top of Page

fab

1310 Posts

Posted - Mar 07 2012 :  10:33:07  Show Profile  Reply
Please could you try another workstation with the same scanner and a different (newer?) scanner driver version?
Have you the same problem with Multi\MultiView demo?
Go to Top of Page

AndyColmes

USA
351 Posts

Posted - Mar 07 2012 :  10:49:09  Show Profile  Reply
I will have the customer try that and I will report back here. Thanks.
Go to Top of Page

AndyColmes

USA
351 Posts

Posted - Mar 13 2012 :  11:30:31  Show Profile  Reply
I am also getting memory errors when scanning at 600 dpi repeatedly. It will do it once but a second or more times give a "out of memory" status from the TWAIN. is this an issue with the TWAIN or ImageEn? It also seems to happen only on a Windows XP computer.
Go to Top of Page

fab

1310 Posts

Posted - Mar 18 2012 :  13:56:25  Show Profile  Reply
In my tests (with XP and several devices) I doesn't happen, so I cannot replicate this problem, I'm sorry.
Go to Top of Page

AndyColmes

USA
351 Posts

Posted - Mar 19 2012 :  22:39:03  Show Profile  Reply
Looks like it might be an issue with the TWAIN since I cannot duplicate it on other devices or my own computer as well.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: