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 - Reducing PDF File Size
  FAQ FAQ  Forum Search   Register Register  Login Login

Reducing PDF File Size

 Post Reply Post Reply
Author
Message
jose.cavalcanti View Drop Down
Beginner
Beginner


Joined: 03 Jan 07
Location: Brazil
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote jose.cavalcanti Quote  Post ReplyReply Direct Link To This Post Topic: Reducing PDF File Size
    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,
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: 27 Sep 07 at 2:25AM
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
Back to Top
jose.cavalcanti View Drop Down
Beginner
Beginner


Joined: 03 Jan 07
Location: Brazil
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote jose.cavalcanti Quote  Post ReplyReply Direct Link To This Post Posted: 28 Sep 07 at 5:33PM
Did not work.
I think that I´ll have to use Adobe Acrobat SDK.
 
Look at the test code. It´s easy to understand.Wink
 

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
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: 28 Sep 07 at 7:13PM
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
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. About — Contact — Blog — Support — Online Store