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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Scan multiple pages

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
dcs Posted - Feb 27 2013 : 22:23:25
Can somebody please give me some hints on how to do that? I can scan only 1 page at a time now.

Thanks in advance,
H.

DCS
5   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Mar 13 2013 : 11:00:58
quote:
Oh by the way, is ImageEnMView thread safe? In other words, can I have another thread processes the existing pages while ImageEnMView adds more page in the main thread?


Depends by what you actually do in the processing thread: you cannot remove pages while others are added.
You can only get a bitmap using GetTIEBitmap (and release using ReleaseBitmap), attach to a TImageEnProc (created inside the thread) and process the image.
dcs Posted - Mar 04 2013 : 14:58:35
oh excellent. Thanks a lot.

Oh by the way, is ImageEnMView thread safe? In other words, can I have another thread processes the existing pages while ImageEnMView adds more page in the main thread?

Thanks,

DCS
fab Posted - Mar 04 2013 : 14:09:23
You could use TImageEnMView.GetImageToFile(pageindex, filename).
dcs Posted - Mar 01 2013 : 00:59:06
Thanks! I figured that out already. However I have another issue. I want to save each page into a single file as soon as the scanner finishes scanning that page in. So I used the AfterAcquireBitmap event. The only function that I see is "ImageEnMView1->MIO->SaveToFile()", which saves all the existing pages into the file. How can I save each page into a single file?

Thanks in advance.
M.

DCS
fab Posted - Mar 01 2013 : 00:54:26
You should use TImageEnMView: it handles multiple pages and configures scanner to do so.
Ex:

ImageEnMView1.MIO.SelectAcquireSource();
ImageEnMView1.MIO.Acquire();