What's new in PDFtk Server (formerly Pdftk) 2.02

Jul 11, 2014
  • Added drop_xmp output option for removing the document XMP metadata stream from a PDF.
  • Added dump_data output of custom page data embedded by STAMPtk tool. See the embed option in STAMPtk for more information.
  • Improved PDF bookmark merging logic so it can handle more input cases.
  • Fixed a password bug where some 'upper-ASCII' characters weren't being mapped to the correct code points.
  • Fixed a 40-bit decryption bug introduced in version 2.00.
  • Fixed a bug in the bookmark merging logic that caused bookmarks to be omitted from the merged PDF.
  • Added a test to ensure that encryption passwords use permitted characters only. (Decryption attempts still allow a larger set of input characters.)
  • Rewrote the wide-to-utf8 code for Windows to make it more rigorous.
  • Organized our calls of JvInitClass() in main().
  • Added descriptions to some exception reports.
  • Reviewed some code from pdftk.cc, PdfReader.java, PdfWriter.java and friends.

New in PDFtk Server (formerly Pdftk) 2.01 (Jul 11, 2014)

  • Fixed an uncompress bug introduced in 2.00 that corrupted some image streams.
  • Updated the Windows pdftk.exe compiler settings to remedy an elusive NullPointerException reported in the field. This problem first appeared in version 2.00.

New in PDFtk Server (formerly Pdftk) 2.00 (Jul 11, 2014)

  • Added AES decryption of input PDFs. The 'owner' password is still required when decrypting any PDF.
  • Added merging of bookmarks/outlines when merging full PDFs.
  • Added new rotate operation, which is a convenient way of rotating select pages of a single PDF.
  • Added new dump_data_annots operation. Currently it reports only link annotation information.
  • Added new need_appearances output option. Use this when filling a form with non-ASCII text to ensure the best presentation in Adobe Reader/Acrobat. It won't work when combined with the flatten option.
  • Improved the compress option so that output PDFs are more compact and efficient.
  • Added page media information to dump_data output: page rotation, page media bounds and page crop bounds.
  • Improved the performance of dump_data so it works better with very large PDFs.
  • Improved the memory management in the Windows binary. This fixes the rare "Too many heap sections" error.
  • Fixed a bug where form fields with multiple values were not being properly reported by dump_data_fields.
  • Fixed a burst bug that was corrupting the output PDF pages.
  • Fixed an input bug to allow interactive prompting of both the user and owner passwords.
  • Fixed a burst bug so that doc_data.txt is now output to the same directory as the PDF's pages when an output directory is given.
  • Fixed a bug where indirect references to the PDF ID in the trailer would cause a crash.
  • Added a test to fill_form so it checks that an input PDF is a form before trying to fill it with data.
  • Added a return value of 3 for warnings 'PDF information not added' or 'PDF form not filled.'
  • Improved the error message for cat page range errors.
  • Fixed the error report when an input page number is out of range.
  • Fixed a burst bug where document metadata wasn't being copied properly to the output PDFs.
  • Updated the Bouncy Castle library to 1.48.
  • When using the cat operation, the output PDF version number is now set to the maximum PDF version of all of the input PDFs. If any of the input PDFs have PDF extension levels, then the greatest extension level is also copied to the output PDF.

New in PDFtk Server (formerly Pdftk) 1.45 (Dec 15, 2012)

  • You can now add or change a PDF’s bookmarks using update_info.
  • Added record delimiters to dump_data output to help make parsing more reliable.
  • The changes to dump_data output (described above) are also now required for the input to update_info.
  • You can now use multi-character input handles. Prior versions were limited to a single character, imposing an arbitrary limitation on the number of input PDFs when using handles. Handles still must be all upper-case ASCII.
  • Added means of referring to PDF pages in reverse order. By prefixing a page number with an r, it counts from the end of the document. For example, r1 is the last page, r2 is the next-to-last page, etc.
  • Changed the syntax for page rotation. Instead of N, S, E, W, L, R and D, now use: north, south, east, west, left, right and down.
  • Fixed a problem reading input PDF filenames that have non-ASCII characters on Windows 7.
  • Fixed a stream parsing issue with troublesome PDFs that don’t strictly follow the PDF specification.

New in PDFtk Server (formerly Pdftk) 1.44 (Nov 29, 2010)

  • Added new feature for collating PDF page scans: shuffle.
  • Introduced update_info_utf8, dump_data_utf8 and dump_data_fields_utf8 to provide UTF-8 companions to update_info, dump_data and dump_data_fields. These latter operations use XML numerical entities to encode non-ASCII characters. In version 1.43, we changed the encoding for update_info to UTF-8, but that made it incompatible with dump_data and also broke some downstream applications. By introducing these UTF-8 operations, we can revert update_info to its original behavior.
  • Burst feature now copies the metadata (including XMP) from the input file to the output pages.
  • Updated Bouncy Castle library to 1.45.
  • Removed or replaced third-party code that wasn’t compatible with pdftk’s GPL license.
  • Updated third-party license information.