Hello All, We are using IText 2.1.3 as part of our application to fulfill a critical business use case. As a module implementer i am very impressed with the IText library and more importently my client.
There was one problem we are facing regarding to Pdf size is becoming very large. I am working on deeply from past few days to find the alternatives to reduce the IText generated pdf size. I found one java tool to compress the pdf file in sourceforge.net ie,. Multivalent20060102.jar and when i ran the original Pdf generated by IText in this tool surprisingly the size reduction is about 87% without loosing the quality of images. When i ran the tool it gives me the following output. C:\>java -cp Multivalent20060102.jar tool.pdf.Compress -compact -jpeg -old original.pdf file:/C:/Documents%20and%20Settings/BSrinivas/Desktop/original.pdf, 1226715 bytes PDF 1.5, producer=iText 2.1.3 (by lowagie.com), creator=null additional compression may be possible with: -compact => new length = 158388, saved 87%, elapsed time = 1 sec When i created the Pdf without images there is no much compression by above tool. I am wondering did i made any programatical mistake in adding the images. I have attached the pdfs generated by IText "original.pdf" and when compressed using the tool "original-o.pdf" can any one help me in inspecting the original.pdf file in what metadata causing the pdf size to became huge. http://www.nabble.com/file/p24699273/original.pdf original.pdf http://www.nabble.com/file/p24699273/original-o.pdf original-o.pdf -- View this message in context: http://www.nabble.com/Problem-with-Pdf-Size%3APdf-Size-is-reduced-by-87--When-i-ran-IText-Generated-Pdf-using-Multivalent20060102.jar-tool.-tp24699273p24699273.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/