This is one of those freak cases. The raw data generated by itext is 1,648,965 bytes and by freehep is 2,765,456 bytes. iText is more efficient. The difference is that the freehep data compresses a lot better, 100kb for freehep and 450kb for itext. I don't have a solution for this.
Paulo ----- Original Message ----- From: "CG" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" <itext-questions@lists.sourceforge.net> Sent: Monday, August 28, 2006 12:54 AM Subject: Re: [iText-questions] PDF Size >I can't give out the 700K and 1.2M files, but I generated some example PDFs > that illustrate the relative size differences. > > http://www.greetings2you.com/FreeHEP.pdf > http://www.greetings2you.com/iText.pdf > > I appreciate you taking the time to address my question! Thank you! > > CG > > > --- Paulo Soares <[EMAIL PROTECTED]> wrote: > >> There are many ways to generate a PDF and using the Graphics2D interface >> is >> not a good one. Post a link to both PDFs and we'll be able to tell you >> more. >> >> Paulo >> >> ----- Original Message ----- >> From: "CG" <[EMAIL PROTECTED]> >> To: <itext-questions@lists.sourceforge.net> >> Sent: Sunday, August 27, 2006 8:06 PM >> Subject: [iText-questions] PDF Size >> >> >> > The size of my pdfs are between 700K and 1.2Meg for a single page pdf >> > compared >> > to 150K to 300K when the same elements are rendered using the FreeHEP >> > PDF >> > libs. >> > iText is faster and allows for a more predictable final result. I'd >> > like >> > to >> > stick with iText. I'm using the Graphics2D interface for the layout of >> > shapes. >> > Any suggestions for reducing filesize? What details do you need to >> > properly >> > assess what's happening? >> > >> > CG >> > >> > __________________________________________________ >> > Do You Yahoo!? >> > Tired of spam? Yahoo! Mail has the best spam protection around >> > http://mail.yahoo.com >> > >> > ------------------------------------------------------------------------- >> > Using Tomcat but need to do more? Need to support web services, >> > security? >> > Get stuff done quickly with pre-integrated technology to make your job >> > easier >> > Download IBM WebSphere Application Server v.1.0.1 based on Apache >> > Geronimo >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> > _______________________________________________ >> > iText-questions mailing list >> > iText-questions@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/itext-questions >> >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> iText-questions mailing list >> iText-questions@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/itext-questions >> > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions