Print Page | Close Window

File PDF is too large

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=3497
Printed Date: 28 Mar 24 at 3:52PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: File PDF is too large
Posted By: Marco
Subject: File PDF is too large
Date Posted: 30 Aug 17 at 2:34PM
Hi,
 
I've a problem when I create a pdf with more 100.000 pages (only text).
 
This file is over 1.4 GB and it's too large.
 
So, I've tryed to generate a pdf with more 3000 pages to do some tests:
 
After the creation of this file, If I print the same file with pdf creator or with Microsoft pdf printer the size of the new file becomes more then half size.
 
Why?
 
Thanks,
regards



Replies:
Posted By: Marco
Date Posted: 07 Sep 17 at 2:53PM
Hi,
 
some news about it?
 
I've the same problem in extraction of pages from a PDF..


Posted By: tfrost
Date Posted: 07 Sep 17 at 9:35PM
If you are not using the DA functions, the whole file has to be loaded into memory to process.  For a file size of 1.4GB this might mean that your process memory space is near to or over the limit.

Please tell us (1) what programming language you are using; (2) what version of QPDF; (3) whether you are using the direct access function set or not; (4) whether you are developing a 32-bit or a 64-bit application; (5) what steps you are already taking to compress or minimize the size of the file; (6) what error messages you are seeing, if any.  Then someone may be able to offer some advice.  Without this information there is not much that anyone can say.


Posted By: Marco
Date Posted: 20 Sep 17 at 1:44PM

(1) what programming language you are using;

Visual Studio 2013

(2) what version of QPDF;

Ver 13.12

(3) whether you are using the direct access function set or not;

I use both functions

(4) whether you are developing a 32-bit or a 64-bit application;

32 bit

(5) what steps you are already taking to compress or minimize the size of the file;

I use, for example, oQP.CompressContent()

(6) what error messages you are seeing, if any.

I've no error.



Posted By: Ingo
Date Posted: 26 Sep 17 at 10:15PM
Hi Marco,

there are other compress options, too:
http://www.debenu.com/docs/pdf_library_reference/DocumentProperties.php
The compress functionalities works only for things you're putting inside - not things which are already inside in an existing document.
Please read this,too:
http://www.debenu.com/kb/can-i-compress-my-pdf/



-------------
Cheers,
Ingo



Posted By: Marco
Date Posted: 27 Sep 17 at 8:19AM
Thanks Ingo,
 
I use
oQP.CompressContent
oQP.CompressImages(1)
oQP.CompressFonts(1)
 
But I've no results (my PDF is created without other external components..).


Posted By: Ingo
Date Posted: 27 Sep 17 at 9:34PM
WHILE creating the new pdf with QuickPDF you can use the compress functionalities.
Using already made pdf-files won't work.


-------------
Cheers,
Ingo



Posted By: Marco
Date Posted: 05 Oct 17 at 8:08AM
I use these functionalities during creation of my pdf..the external components is the text that i take from another text file..so i don't know why the result is so big..


Posted By: Ingo
Date Posted: 05 Oct 17 at 7:20PM
Perhaps an answer with your relevant code would help?
Actually it's like looking into a glass bowl ;-)



-------------
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