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!
![]() |
Reducing PDF File Size |
Post Reply ![]() |
Author | |
jose.cavalcanti ![]() Beginner ![]() Joined: 03 Jan 07 Location: Brazil Status: Offline Points: 19 |
![]() ![]() ![]() ![]() ![]() Posted: 26 Sep 07 at 6:55PM |
Hi, how can I reduce PDF file size as in Adobe Acobat 8 Professional Document/Reducing File Size...?
Regards,
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Jose!
With QuickPDF there are several functions which can help (one can help more and one can help less ;-) Have a look at: SetPrecision CompressContent CompressPage CompressFonts CompressImages Here you can get the Reference Guide: http://www.quickpdf.org/download/iSEDQuickPDF 5.11 Reference Guide.zip Best regards, Ingo |
|
![]() |
|
jose.cavalcanti ![]() Beginner ![]() Joined: 03 Jan 07 Location: Brazil Status: Offline Points: 19 |
![]() ![]() ![]() ![]() ![]() |
Did not work.
I think that I´ll have to use Adobe Acrobat SDK.
Look at the test code. It´s easy to understand.
![]() LOCAL lcLicenseKey, loQuickPDF, lcFileNameSource, lcFileNameTarget lcLicenseKey = "MyLicenseKey" loQuickPDF = CreateObject("ISED.QuickPDF") loQuickPDF.UnlockKey(lcLicenseKey) lcFileNameSource = "C:\DJESP.PDF" lcFileNameTarget = "C:\DJESP_A.PDF" = loQuickPDF.LoadFromFile(lcFileNameSource) = loQuickPDF.SetPrecision(2) = loQuickPDF.CompressContent() = loQuickPDF.CompressPage() = loQuickPDF.CompressFonts(1) = loQuickPDF.CompressImages(1) loQuickPDF.SaveToFile(lcFileNameTarget) RETURN Edited by Ingo - 07 Oct 07 at 5:03AM |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi!
It's not so easy like you has thought ;-) CompressImage for example should be called before inserting a new image into the pdf document. The other functions doesn't work as easy as you has thought, too. The time when to use the functions is essential. Perhaps someone can tell this more detailed. Best regards, Ingo |
|
![]() |
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