Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

File size increases after using CombineLayers

Question

Sometimes we need to use CombineLayers to keep the contents of the pages. Unfortunately with some documents, when we use this method, the newly saved file is larger than the original.

For example, we have a file with 2000 pages, about 32 Mb. We add some text on some pages and we save the file. If we use CombineLayers, the file size is about 193 Mb. If we don't use it, the file size is about 32 Mb.

Why does the file size increase so much?

Answer

The file size can increase for a variety of different reasons.

Sometimes it's necessary for the CombineLayers function to decompress content found on different layers before combining the layers and with certain documents the content may not automatically compress the content again and so when the file is saved, the decompressed content increases the file size.

To get around this try calling the CompressContent function to compress any content that is not already compressed. This should reduce the file size and make it closer to the original size.


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum