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!
![]() |
Compress PDF files |
Post Reply ![]() |
Author | |
Gerard ![]() Beginner ![]() ![]() Joined: 22 Feb 07 Location: Canada Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() Posted: 20 Feb 12 at 5:59PM |
Hi,
I need to compress a exiting PDF file, somebody have try that before I try that:
InputFileName = "A.PDF" OutputFileName = "B.PDF"
iRet = QuickPDFLoadFromFile(InstanceID,InputFileName)
iRet = QuickPDFSelectDocument(InstanceID,DocumentID) iRet = QuickPDFCompressContent(InstanceID) iRet = QuickPDFCompressFonts(InstanceID,1) iRet = QuickPDFCompressImages(InstanceID,1) iRet = QuickPDFSetJPEGQuality(InstanceID,50) iRet = QuickPDFSaveToFile(InstanceID,OutputFileName) But that change nothing ![]() If someone have idea to point me in the correct direction. Regard Gerard |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Gerard!
You can use the compress functions while creating a new pdf not on an existing one. Cheers, Ingo |
|
![]() |
|
AndrewC ![]() Moderator Group ![]() ![]() Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
The type of compression you are talking about requires resampling the images from say 300 dpi down to 100 dpi and resaving the PDF. Currently we don't have such a feature in Quick PDF Library.
Andrew.
|
|
![]() |
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