Re: [iText-questions] PDF Size Limitation

2014-02-28 Thread TvT
iText itself has not such a limitation. In the past there was a 2GB limitation but that was fixed in a newer version. Without anymore details it is hard to tell. One possibility are your (file)streams. Do you correctly flush and close those? 2014-02-28 13:18 GMT+01:00 Paulo Sergio Bernardino :

Re: [iText-questions] pdf size vs image format

2010-11-01 Thread 1T3XT info
On 1/11/2010 4:16, Jason Berk wrote: > I created a PDF that has two images, created from .tiff files and the > resulting PDF is roughly 50K. I then converted the .tiff files to .png > and recreated the same PDF, which is now 70K. Yet, the file size of the > image itself decreased significantly wh

[iText-questions] pdf size vs image format

2010-10-31 Thread Jason Berk
I created a PDF that has two images, created from .tiff files and the resulting PDF is roughly 50K. I then converted the .tiff files to .png and recreated the same PDF, which is now 70K. Yet, the file size of the image itself decreased significantly when converting to PNG. Image1.png = 41.6K Im

Re: [iText-questions] PDF size after oPdfStamper.FreeTextFlattening, FormFlattening needs to go on a diet ??

2010-02-24 Thread Sean_Parsons
Before you close the stamper/reader - add: reader.removeAnnotations(); reader.removeUnusedObjects(); stamper.setFullCompression(); Sean tim clark-10 wrote: >Hi All >I have been using the itext lib in a app for a year or so typically to >merge >db content in to pdf form field documents >crea

Re: [iText-questions] PDF size after oPdfStamper.FreeTextFlattening, FormFlattening needs to go on a diet ??

2010-02-23 Thread 1T3XT info
tim clark wrote: > Just for the Archives I have found a solution to this file size issue but I > think it is > application specific but this use case may fit someone else Er... I didn't understand the initial question, but the use of PdfSmartCopy is documented in the MEAP version of "iText in Act

Re: [iText-questions] PDF size after oPdfStamper.FreeTextFlattening, FormFlattening needs to go on a diet ??

2010-02-23 Thread tim clark
Just for the Archives I have found a solution to this file size issue but I think it is application specific but this use case may fit someone else The pages that we are concatenating are identical in layout, font etc only the content changes so I instead of using .text.pdf.PdfCopy we tried iText

Re: [iText-questions] PDF size after oPdfStamper.FreeTextFlattening, FormFlattening needs to go on a diet ??

2010-02-22 Thread Sebastian Sickelmann
tim clark-10 wrote: >Hi All >I have been using the itext lib in a app for a year or so typically to >merge >db content in to pdf form field documents >created with adobe acrobat. >Recently we have been merging to some rather large data and the size of >the >pdf document has now become an issue >T

[iText-questions] PDF size after oPdfStamper.FreeTextFlattening, FormFlattening needs to go on a diet ??

2010-02-21 Thread tim clark
Hi All I have been using the itext lib in a app for a year or so typically to merge db content in to pdf form field documents created with adobe acrobat. Recently we have been merging to some rather large data and the size of the pdf document has now become an issue Today I looked at some simple

Re: [iText-questions] PDF Size

2006-08-28 Thread Mark Storer
s bad as your description either. --Mark Storer Senior Software Engineer Cardiff Software #include typedef std::Disclaimer DisCard; > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of CG > Sent: Sunday, August 27, 2006 4:54 PM > To: P

Re: [iText-questions] PDF Size

2006-08-28 Thread Paulo Soares
Paulo - Original Message - From: "CG" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" 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 P

Re: [iText-questions] PDF Size

2006-08-27 Thread CG
EMAIL PROTECTED]> > To: > 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 Fre

Re: [iText-questions] PDF Size

2006-08-27 Thread Paulo Soares
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: Sent: Sunday, August 27, 2006 8:06 PM Subject:

[iText-questions] PDF Size

2006-08-27 Thread CG
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 lay

Re: [iText-questions] pdf size restrictions

2005-09-22 Thread bruno
Alan Klikic wrote: I am using "new PdfReader(String filename)" constructor. In my iText lib there is no PdfReader that takes RandomAccessFileOrArray. It's rather new. I think it was introduced 2 versions ago. Anyway, there was a new version released today. I still have to post the announceme

Re: [iText-questions] pdf size restrictions

2005-09-22 Thread bruno
Alan Klikic wrote: Hi. I have a problem signing pdf file witch file size is 9 MB or greater (OutOfMemory Exception). Has iText any pdf file size restrictions? No, but your JVM has. What constructor of PdfReader are you using? The one that takes a RandomAccessFileOrArray object is 'memory

[iText-questions] pdf size restrictions

2005-09-22 Thread Alan Klikic
Hi. I have a problem signing pdf file witch file size is 9 MB or greater (OutOfMemory Exception). Has iText any pdf file size restrictions? Thanx, Alan --- SF.Net email is sponsored by: Tame your development challenges with Apache's G

Re: [iText-questions] PDF size, PDF to HTML?

2005-08-18 Thread Leonard Rosenthol
At 05:34 AM 8/18/2005, Lehradt, Maik wrote: We use iText to fill forms with datase values in existing pdf documents. The user can upload documents, which are also stored in the database. The problem is that the resulting documents are sometimes to large (~200kB) for users without a dial-up intern

[iText-questions] PDF size, PDF to HTML?

2005-08-18 Thread Lehradt, Maik
Hello, We use iText to fill forms with datase values in existing pdf documents. The user can upload documents, which are also stored in the database. The problem is that the resulting documents are sometimes to large (~200kB) for users without a dial-up internet connection. Possible solutions: -

RE: [iText-questions] PDF size

2005-01-12 Thread Bruno
Quoting "Joshi, Ramakant" <[EMAIL PROTECTED]>: > I need the size in bytes, I see a getPdfSize which returns the size as a > rectangle object. If you send everything to a FileOutputStream, you can use JAVA methods to get the size in bytes. As a workaround for browsers, a ByteArrayOutputStream is u

Re: [iText-questions] PDF size

2005-01-12 Thread Bruno Lowagie
Joshi, Ramakant wrote: How can I get the size of the PDF generated using iText? Size = total number of pages? Size = total number of bytes in the file? Both answers are in the FAQ or tutorial. --- The SF.Net email is sponsored by: Beat the post-ho

[iText-questions] PDF size

2005-01-12 Thread Joshi, Ramakant
How can I get the size of the PDF generated using iText? --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkg

RE: [iText-questions] Pdf size grows as I add the same image

2003-11-14 Thread Paulo Soares
Only call Image.getInstance("image") once. Best Regards, Paulo Soares > -Original Message- > From: FREESTYLER2000 [SMTP:[EMAIL PROTECTED] > Sent: Friday, November 14, 2003 11:05 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Pdf size grows as I a

[iText-questions] Pdf size grows as I add the same image

2003-11-14 Thread FREESTYLER2000
Hi I'm making Pdf documents and with every new page I add an image, always the same. But if the image's size is 15 bytes and the Document is 10 pages long then the pdf is at least 150 bytes. Exists a way to make the pdf's size grow only as if there was only one image (and every image be printe