ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Imag to Text
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

1995steve

USA
2 Posts

Posted - Aug 11 2011 :  08:44:17  Show Profile  Reply
I am using Delphi XE and IE 4.0.0
I do not know if what I want to do is possible in Image En.
I have a multipage tiff file. That I want to split in to individual page files. This is easy but I want to read an area of the tiff page and turn it to Text to set the new page file name in steed if want I am doing now. Below is the code I am using to separate the pages.
Source := FldSource.Text;
FileName := Source + '\*.Tif';
if FindFirst(FileName,faAnyFile,F) = 0 then
begin
if tags.ReadFile( Source + '\'+F.Name ) then
begin
for x := 0 to Tags.GetPagesCount - 1 do
begin
fName := F.Name;
delete(fName,pos('.',fName),4);
Dest := FldDestination.Text+'\'+fName+'-'+intToStr(x)+'.tif';
Tags.WriteFile(Dest,x);
end;
end;
DeleteFile(Source+'\'+F.Name);
FindClose(F);
end;
Thanks in advance
Donald S. Bossen
J&B Importers Inc.

fab

1310 Posts

Posted - Aug 11 2011 :  09:12:19  Show Profile  Reply
Hello,
you need an OCR.
Please read this topic:

http://www.imageen.com/ieforum/topic.asp?TOPIC_ID=74
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: