T O P I C R E V I E W |
Fábio Nascimento |
Posted - May 23 2016 : 10:23:09 Hi,
I'm moving from Kodak Imaging OCX to ImageEn, on the Kodak components, for scanning options, I have an option to:
1) scan a new document; 2) insert pages into a existing document; 3) append pages into a existing document; 4) replace pages from a start point; 5) replace the entire document with a new one
With the Kodak components, it's just as easy as setting ImgScan.PageOption := 1; where 1,2,3,4,5 are the options available as listed above, and then call ImgScan.StartScan..
Looking at ImageEm demos I found how to insert/append/remove frames on the tiff files by selecting files on disk, I guess it should work for acquiring too, but it's much more complex then set an option.
So my question is what is the best way to acquire from scanner and set how the acquired pages are used.
Thanks! |
4 L A T E S T R E P L I E S (Newest First) |
Fábio Nascimento |
Posted - May 25 2016 : 01:10:10 Yeah I do need to replace them often, because every document has like 20 pages each and sometimes some of them doesnt scan well, or one or some pages changes and I need to replace them.
Either way I'll need to delete the frames that are supposed to be replaced and them move the new ones into there right?
Cool, I'll use ImageEnMView1.IO.LastFilename them as the file is loaded.
Thanks@ |
xequte |
Posted - May 24 2016 : 17:11:23 Hi Fabio
If you do need to replace existing frames you would probably find it easier to use a temporary TImageEnMView/TIEMultiBitmap, acquire into that, and then move the acquired frames into the TImageEnMView.
If the file is loaded you can use: ImageEnMView1.IO.LastFilename
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
Fábio Nascimento |
Posted - May 24 2016 : 13:47:54 Yeah, 5 and 1 are quite the same, but 1 creates a new file and 5 override the existing one.
Have you ever worked with the Kodak Imaging OCX components? I was able to work with the ImgScan (from Kodak) to acquire the images from scanner and show them on the ImageEn. So basically, they are working together at the moment on my application.
So it's not possible to override pages, to use ImageEn I should scan them at the desired point and them delete the ones that are supposed to be replaced?
Finally, how is the best way to get the filename of the displayed image on ImageEnMView? I'm using ImageEnMView.MIO.Params[ImageEnMView.SelectedImage].FileName; cuz I could not find a direct way like ImageEnMView.Filename.
Thanks! |
xequte |
Posted - May 23 2016 : 18:44:59 Hi Fabio
If you acquire directly into a TImageEnMView then the images are inserted at the selection position, or appended if nothing is selected, so that gives you three options:
1. Clear before acquire to scan as new document 2. Select an image before acquire to insert at a position 3. Clear the selection before acquire to append to the existing document 4. Not supported 5. Is this not the same as #1?
Regarding method 4, there are ways to do this if it is important.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
|
|