Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8565845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T17:31:19+00:00 2026-06-11T17:31:19+00:00

I am using PDF to be rendered in my application, for various other information

  • 0

I am using PDF to be rendered in my application, for various other information of page level (creating swf, xml etc for different o/p format) page level spliting is done and processed.

Environment is Linux (Fedora 8).

Final PDF is recreated using the split PDF but there is drastic increase in size for a few PDF where similar font is used over a large no. of pages.

Using iText and PDFTK output is not satisfactory…
It simply adds the split PDF and final output is same size of individual PDF combined together.

I think optimization and/or shared resources duplication is what I am missing here…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T17:31:20+00:00Added an answer on June 11, 2026 at 5:31 pm

    PdfTk uses a mighty old (and no longer supported) version of iText. When concatenating PDFs, it uses the PdfCopy class. You should use a recent version of iText and PdfSmartCopy. PdfSmartCopy stores hashes of all the objects that are added to the new document. This allows iText to reuse objects that already exist.

    For more info, read chapter 6 of the book I wrote about iText: http://www.manning.com/lowagie2/samplechapter6.pdf (search for PdfSmartCopy)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using PDF documents for various purposes using iText library. Its like one
Has Anyone tried using PDF in iPad Application, using CGPDf functions. I have used
I'm using DOM PDF to convert a simple html page to a PDF--everything works
I'm creating a dynamically generated PDF using FPDF. My PDF requires many exactly horizontal/vertical
I am trying to make an application that displays a PDF file, using PyQt4
I'm writing reST documents that will be rendered to HTML and PDF using Sphinx.
I'm trying to understand how CATiledLayer works when rendering a PDF page using CGContextDrawPDFPage()
I'm using the code below to render a preview of a PDF page. However
I'm using prawn with prawnto in a rails 3 application to generate some pdf's.
Using both 0.79 and 0.7.2 the PDF generated looks slightly different than my original

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.