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
 Multi-Page Scanning Without ADF

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
JonRobertson Posted - Oct 20 2011 : 14:40:04
I'm replacing the scanning functionality in our application with ImageEn (with long-term plans to do a lot more with ImageEn). Our application allows the user to scan multiple pages into a TIFF even if the scanner does not have an ADF.

I would like to do with using just a TImageEnMView. But I'm not sure if this is possible. The best idea I have at the moment is to do this (pseudo):

Create TImageEnMView
Create TImageEnView
repeat
Acquire single page using TImageEnView
Append acquired page into TImageEnMView
until user cancels scan via our dialog

The three other "modes" we support (single page, ADF, duplex) can be implemented with a single TImageEnMView. I would much prefer to find a way to call "Acquire" multiple times to scan single pages into a TImageEnMView.

Is this possible?

Thanks
2   L A T E S T    R E P L I E S    (Newest First)
graphman Posted - Jul 24 2012 : 04:04:48
> 2) call ImageEnMView.MIO.AcquireOpen. User can acquire each page using the
> scanner dialog. You don't need to call AcquireOpen multiple times.

!!! You don't need to call AcquireOpen multiple times.

How to show the scanner dialog again without using AcquireOpen?
This dialog is closing after first scanning.
fab Posted - Oct 23 2011 : 23:50:43
Using just TImageEnMView you have two ways:

1) call ImageEnMView.MIO.Acquire() for each page: if the scanner supports ADF ImageEn will use it. Otherwise a single page will be acquired. Each page is added automatically to the others.

2) call ImageEnMView.MIO.AcquireOpen. User can acquire each page using the scanner dialog. You don't need to call AcquireOpen multiple times.

Finallly, call ImageEnMView.MIO.SaveToFile() to create the multipage TIFF file.