Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Tiff 2 PDF
  FAQ FAQ  Forum Search   Register Register  Login Login

Tiff 2 PDF

 Post Reply Post Reply
Author
Message
vorber View Drop Down
Beginner
Beginner


Joined: 15 May 07
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote vorber Quote  Post ReplyReply Direct Link To This Post Topic: Tiff 2 PDF
    Posted: 17 May 07 at 4:59AM

QP.UnlockKey ("")
QP.Unlocked

QP.NewDocument
For n = 1 To QP.GetImagePageCount(tiff_file)
dd = QP.AddImageFromFile(tiff_file, n)
Call QP.SelectImage(dd)
Call QP.SelectPage(n)
Call QP.DrawScaledImage(20, 750, 0.3)
Next
Call QP.SaveToFile(pdf_file)
Set QP = Nothing
 
Is there anythinf wrong? Why the output only has the first page of tiff file?
thanks.
Back to Top
marian_pascalau View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 28 Mar 06
Location: Germany
Status: Offline
Points: 278
Post Options Post Options   Thanks (0) Thanks(0)   Quote marian_pascalau Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 07 at 8:14PM
You have to watch out on your for statement. The AddImageFromFile function is just adding a new image to current page and not a page with a new image. Before you call AddImage you have to call NewPage on PDF document.
 
Before all you have to watch out that QuickPDF has by default a default page (emty page.
Back to Top
vorber View Drop Down
Beginner
Beginner


Joined: 15 May 07
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote vorber Quote  Post ReplyReply Direct Link To This Post Posted: 19 May 07 at 8:12AM
Thanks marian, it works now.
New problem ,there are many blank pages in the result.  i tyied many times with the same problem , is this a bug?
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 19 May 07 at 1:31PM
Hi!

Please have a look in the document...
Are there pages only with images?
Are there complete pages with scanned (it's an image, too) papers?
If not this seems to be the known rendering problems...

Best regards,
Ingo

Back to Top
marian_pascalau View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 28 Mar 06
Location: Germany
Status: Offline
Points: 278
Post Options Post Options   Thanks (0) Thanks(0)   Quote marian_pascalau Quote  Post ReplyReply Direct Link To This Post Posted: 19 May 07 at 6:02PM
Hey Vorber, you should send your file to support(at)quickpdf.org
Back to Top
rogerad View Drop Down
Beginner
Beginner


Joined: 08 Dec 05
Location: Australia
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote rogerad Quote  Post ReplyReply Direct Link To This Post Posted: 17 Jun 07 at 11:52PM
i had same problem
 my gif  images convert as blank pages
 i have to use another component to convert gif images to pdf files
roger adams
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store