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
 Using TImageEnMView to generate single tif files

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
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]));