T O P I C R E V I E W |
PeterPanino |
Posted - Aug 27 2020 : 11:49:52 I use this code to get an image from my scanner:
ImageEnView1.IO.Acquire
This works well with one single scanned image.
But the scanner driver interface allows me also to scan multiple images:
However, ImageEnView1.IO.Acquire does not give me back the information how many pages were scanned. If I had that information I could save the multiple scanned pages in a buffer or in a container image file like e.g. TIFF or in a TImageEnMView and then display one of them in ImageEnView1.
So is it possible to get the number of scanned pages? |
5 L A T E S T R E P L I E S (Newest First) |
prodat |
Posted - Sep 03 2020 : 07:27:33 Multi-page scanning with splitting via barcodes. I scan in an internal TImageEnView and then forward the scanned images to one or more instances of TImageEnView or TImageEnVect.
In the TImageEnMView.ImageUserPointer, all existing images are marked beforehand, so you can easily find out which the newly scanned images are. |
xequte |
Posted - Aug 30 2020 : 23:00:41 Hi Peter
That's not really practical from within ImageEn (TImageEnIO is attached only to a TImageEnView, whereas TImageEnMVIO is attached only to a TImageEnMView).
However you can do it in your application code without difficulty.
Nigel Xequte Software www.imageen.com
|
PeterPanino |
Posted - Aug 28 2020 : 02:33:58 It would be nice if both Single-Page-Scan and Multi-Page-Scan could be done from the same IE routine:
• If the Scan-Result is Single-Page then the scanned image would be viewed in ImageEnView
• Else if the Scan-Result is Multi-Page then the scanned images would be viewed in ImageEnMView |
xequte |
Posted - Aug 27 2020 : 19:37:51 Hi
Sinisa is correct. TImageEnView/TImageEnIO can only be used for single scans. Please use TImageEnMView/TImageEnMIO
Nigel Xequte Software www.imageen.com
|
spetric |
Posted - Aug 27 2020 : 17:04:32 Hi,
I use MView->MIO->Acquire() to scan multiple pages in TImageEnMView. I don't know if single view (TImageEnView) can handle multiple pages.
|