Title: Reducing file size of a PDF Stamped document

I'm using Acrobat 6 to audit the space used in the various pieces of both my pdf form template and my stampled pdf document.  I'm trying to figure out ways of reducing my stamped file size.  After analyzing the audit information (listed below), I'm having a hard time figuring out where the space for "X Object Forms" came from in the stampled pdf document.  Does anyone know of a way to remove the "X Object Forms", or are they required?  I'm using IText version 1.3, JDK 14.2, and the PdfStamper object in IText.

The pdf form has the following audit:

Description                     Bytes
Content Streams         8238
Fonts                           8879
Acro Forms                      11543
Document Overhead               4978
X Object Forms                  0
Pattern Information             160
Shading Information             606
Extended Graphic States 82
Piece Information               971
Cross Reference Table           2520
Unknown                 1505
----------------------------------------------------------
Total                           39482

The stamped pdf has the following audit:

Description                     Bytes
Content Streams         8608
Fonts                           8881
Acro Forms                      1259 (not sure why so much space here either.  I'm setting form flattening to true)
Document Overhead               4483
X Object Forms                  3906 (***)
Pattern Information             158
Shading Information             606
Extended Graphic States 81
Piece Information               969
Cross Reference Table           2580
Unknown                 409
------------------------------------------------------------
Total                           31940

_______________________
Jeremy Nix
Senior Application Developer
Southwest Financial Services, LTD.
(513) 621-6699 x1158
www.sfsltd.com


Reply via email to