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
 fastest way to merge TIFs into PDFs
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

dave.sellers

United Kingdom
17 Posts

Posted - Sep 09 2013 :  05:00:39  Show Profile  Reply
Hi

I have 3.6M single frame TIF files which I need to merge into PDFs, typically around 10 pages per PDF.

I can do this using ImageenMView e.g.

for i := 0 to slFiles.count -1 do
begin
ImageEnMView1.MIO.LoadFromFileTIFF(slFiles[i]);
ImageEnMView1.MIO.Params[i].PDF_Compression := ioPDF_JPEG;
end;
ImageEnMView1.MIO.SaveToFilePDF(destfile);

It works but seems slow, can anybody suggest a quicker way?

Cheers
Dave

xequte

39067 Posts

Posted - Sep 09 2013 :  13:19:58  Show Profile  Reply
Hi Dave

You can also do it non-visually. See:

http://www.imageen.com/help/TImageEnIO.SaveToPDF.html


And also the PDFBuilder demo which is under \Demos\InputOutput\


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

dave.sellers

United Kingdom
17 Posts

Posted - Sep 09 2013 :  13:27:46  Show Profile  Reply
Hi Nigel

Thanks for that.

I can't try this out until tomorrow but in what way is
http://www.imageen.com/help/TImageEnIO.SaveToPDF.html non-visual given that it uses ImageEnView?

Will give it a whirl in the morning and report back,

Cheers
Dave
Go to Top of Page

dave.sellers

United Kingdom
17 Posts

Posted - Sep 10 2013 :  03:23:01  Show Profile  Reply
Hi Nigel

OK, I tried that but it's only marginally quicker ~10%

I've estimated 10 days processing time for 3.6M files but we can probably run multiple instances of the app and get that down to a couple of days. It's a one-off task so I'm not that bothered, they'll just have to wait..

Thanks for your help.
Dave
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: