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!
Tiff 2 PDF |
Post Reply |
Author | |
vorber
Beginner Joined: 15 May 07 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 17 May 07 at 4:59AM |
QP.UnlockKey ("") 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.
|
|
marian_pascalau
Debenu Quick PDF Library Expert Joined: 28 Mar 06 Location: Germany Status: Offline Points: 278 |
Post Options
Thanks(0)
|
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.
|
|
vorber
Beginner Joined: 15 May 07 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
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?
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
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 |
|
marian_pascalau
Debenu Quick PDF Library Expert Joined: 28 Mar 06 Location: Germany Status: Offline Points: 278 |
Post Options
Thanks(0)
|
Hey Vorber, you should send your file to support(at)quickpdf.org
|
|
rogerad
Beginner Joined: 08 Dec 05 Location: Australia Status: Offline Points: 14 |
Post Options
Thanks(0)
|
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
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store