Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
rogmartins
Posted - Oct 11 2011 : 08:58:21 Hi ! How can i generate several single tif files by TImageEnMView.MIO.Acquire ?
Example: when i feed scanner with 10 papers, i need to get respectively 10 files tif, 1 per image. Using OnAcquireBitmap event and ABitmap.Write is not working.
Thnaks
1 L A T E S T R E P L I E S (Newest First)
fab
Posted - Oct 11 2011 : 09:03:03 Hi, after Acquire returns, you have to loop among pages and call GetImageToFile to save each page. For example:
ImageEnMView1.MIO.Acquire();
for i:=0 to ImageEnMView1.ImageCount-1 do
ImageEnMView1.GetImageToFile(i, Format('page%d.tif', [i]));