Print Page | Close Window

Why is the size of PDF file generated by quickpdf

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3832
Printed Date: 22 Nov 24 at 6:40PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Why is the size of PDF file generated by quickpdf
Posted By: wangpeibing
Subject: Why is the size of PDF file generated by quickpdf
Date 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"



Replies:
Posted By: Ingo
Date 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



Posted By: wangpeibing
Date 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)


Posted By: Ingo
Date 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




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk