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 - Why is the size of PDF file generated by quickpdf
  FAQ FAQ  Forum Search   Register Register  Login Login

Why is the size of PDF file generated by quickpdf

 Post Reply Post Reply
Author
Message
wangpeibing View Drop Down
Beginner
Beginner


Joined: 31 Jul 20
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote wangpeibing Quote  Post ReplyReply Direct Link To This Post Topic: Why is the size of PDF file generated by quickpdf
    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"
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: 31 Jul 20 at 10:28PM
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

Back to Top
wangpeibing View Drop Down
Beginner
Beginner


Joined: 31 Jul 20
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote wangpeibing Quote  Post ReplyReply Direct Link To This Post Posted: 01 Aug 20 at 2:27PM
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)
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: 01 Aug 20 at 3:08PM
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

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. AboutContactBlogSupportOnline Store