Print Page | Close Window

Convert PDF to TIF

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2894
Printed Date: 28 Jun 25 at 1:37PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Convert PDF to TIF
Posted By: moakley
Subject: Convert PDF to TIF
Date Posted: 12 May 14 at 5:39PM
I have a single page PDF that I am trying to convert to TIF.  I am using the following code. 
 
  if (qp.Unlocked() == 1)
  {
            DocumentID = qp.LoadFromFile(pdfFilename, "");
            qp.RenderDocumentToFile(150, 1, 1, 10, tifFilename);
            qp.RemoveDocument(DocumentID);
  }
 
For closer inspection is there a way I can make the PDF available for troublshooting?



Replies:
Posted By: Chopinke
Date Posted: 12 May 14 at 9:32PM
I hope the following code helps (Delphi):

            DPL.LoadFromFile(pdfFile, '');
            cnt := DPL.PageCount;
            for pg := 1 to cnt do
            begin
              DPL.SelectPage(pg);
              DPL.RenderPageToFile(150, pg, 7, 'tifFile'+IntToStr(pg)+'.tif');
            end;




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk