Hello Podofo users,

I am developping a simple software. As a first basis, I would like to duplicate 
a pdf file that has been created by my printer (a scanned document). It 
consists of a file of 40 pages. It weights 10 Mb and each page of the pdf 
document is an image of a scanned document’s page. 

In my program, I am just copying each page from the original pdf (I load it in 
a PdfMemDocument) and then inserts it in another PdfMemDocument with InsertPage.

I just do a Write() at the end. 

The file created at the end weighs more than 500 MB!! I searched a lot of 
topics. I saw one talking about disabling the embedded fonts. First, I do not 
know how to do this as I am not using any fonts and there is no options in the 
Write() function in the PdfMemDocument class. So I do not know where to specify 
not to embed fonts. Second, I am not convinced this is the problem as it is 
only images in the file and no strings attached. Isn’t it a problem of bad 
compression of the image? Then How should I proceed? 

I am really sorry for the dumb question but as you can see, I am a beginner in 
C++. I will really appreciate any kind of help. 

Christophe



------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to