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 :
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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:
-
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
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
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
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
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
23 matches
Mail list logo