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!
Why is the size of PDF file generated by quickpdf |
Post Reply |
Author | |
wangpeibing
Beginner Joined: 31 Jul 20 Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 31 Jul 20 at 3:34AM |
I am a paid user of quick PDF library. I have found that the size of the generated PDF is significantly larger when I use "quick PDF library" to store PDF. For example, I use the following simple program to test. I open a 900K PDF with 10 pages, delete nine pages, and then save it. I find the generated PDF file(that has only one page) is larger than the original file, Is this a bug? Temp = myDoc.LoadFromFile(mypdf.pdf, 0) myDoc.DeletePages 2, 9 myDoc.SaveToFile "myoutpdf.pdf" |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Wang,
there are too many possible reasons for this behavior. Font file embedded or not... Where are the images... first compressed then with save not compressed... first optimized for web after save not... and so on... Please try the enhanced search (top, right here with the spy glass) with relevant keywords. You should read the online reference and the developer guide as well. Cheers and welcome here, Ingo |
|
Cheers,
Ingo |
|
wangpeibing
Beginner Joined: 31 Jul 20 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Thank you for your reply. I tried to use all the following functions, but the generated file is still very large. If I do the same with Adobe Acrobat, the generated files are only a fraction of those generated with the quick PDF library
myDoc.CompressContent myDoc.ReduceSize(0) myDoc.ReplaceFonts(0) myDoc.CompressFonts(0) myDoc.CompressImages(0) |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
The functions you've tried are working on the fonts and images you're embedding just in time - Not the ones which are already inside.
You shouldn't compare QuickPDF with Acrobat or do you compare Mercedes Benz with Volkswagen as well? ;-) Have a look to the installation of QuickPDF with less mb and have a look on an Acrobat installation... |
|
Cheers,
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