On 10/24/2011 2:53 PM, mkl wrote:
Hitesh Barhate,

Hitesh Barhate wrote:
I have one particular PDF file with 100 pages and 10 MB size (PDF contains
only images). When I split that PDF file using iText then the splitted
files combined size becomes 1000 MB. Each splitted file becomes 10 MB.

But this is not the case with all the PDFs. It happens only with some
particular PDFs.

Can you please help me with this issue ?
As you offer neither an example file nor code, we have to guess. One
possibility:

If the images in your document are used again and again on many pages, they
need to be in the source document only once while after splitting they need
to be in each of the result documents containing a page on which the image
is used. In the extreme case of all images being re-used on every page, that
will result in a situation like yours.

Regards,   Michael

--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/PDF-Splitting-Increases-Size-tp3932443p3932552.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php



Hi,
    Thank you for reply.

In that particular PDF there are 100 image objects. These images are stored under resources obj in PDF. These resources are getting copied in all the splitted PDFs.

    Is there a way to remove the unused resources from PDFs.


--
*//*Regards,
Hitesh Barhate.

<<attachment: hitesh_barhate.vcf>>

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to