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
 Extract Fronts (Odd numbered Pages) Multipage TIFF
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Sidney Egnew

USA
55 Posts

Posted - Jun 21 2017 :  11:13:47  Show Profile  Reply
For email and printing purposes, I want to create a PDF from a multi-page Tiff that only outputs the odd numbered pages. Odd numbered pages correspond to the front of a physical page and even numbered pages correspond to the back. The images are stored as BFILE fields in an oracle database. How can I do this?

xequte

38616 Posts

Posted - Jun 22 2017 :  19:36:55  Show Profile  Reply
Hi Sidney

Have you tried the PDFBuilder demo in the InputOutput folder?

It uses ImageEnView1.IO.SaveToPDF to add images to the current PDF file (being created). So you would just load the page of the TIFF that you want to ouput (i.e. by setting ImageEnView.IO.Params.ImageIndex before LoadFromFileTIFF).

Another method would be to load the entire TIFF into a TIEMultiBitmap, remove the TIFF pages you don't want to output and then Write the TIEMultiBitmap to file.

Let me know if you need more detail.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: