Apache Java Tool for Editing PDF
Written by Kay Ewbank   
Tuesday, 05 April 2016

PDFBox, an open-source Java tool for working with PDF documents, has been released by Apache.

Apache PDFBox is a Java library that can be used to create and edit PDF documents, and to extract their content for external use. You can also use it to digitally sign, print and validate files against the PDF/A-1b standard. The utility includes a number of command line utilities that can be called for encrypting and decrypting, overlaying, merging, debugging, converting text to PDF and PDF to an image.

pdfbox

PDFBox was originally created in 2002 by Ben Litchfield. It was taken up as an Apache Incubator project in 2008, and became an Apache top level project in 2009. This latest release is an updated version with improved rendering and text extraction. It offers unicode support for PDF creation, and has better support for interactive forms.

The support for signing and encrypting PDFs has also been improved, along with the parser. This now has a 'self-healing mechanism' that will attempt to recover malformed or corrupted PDFs.

Other improvements include lower use of memory and other resources, an enhanced preflight module for PDF/A-1b conformance checking, and a rearranged package structure to allow smaller runtime environments.

There are some breaking changes in the library. A number of API calls have been removed, and other API changes include the removal of getCOSDictionary() - getCOSObject now returns the matching COSBase subtype. PDXObjectForm has been renamed to PDFormXObject to be more in line with the PDF specification, and similarly PDXObjectImage has been renamed to PDImageXObject.

The final breaking change is the simplification of:

PDPage.getContents().createInputStream()to PDPage.getContents().

pdfboxMore Information

PDFBox Download 

PDFBox Page

Related Articles

Document Translator Open Sourced

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter,subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin

 

Banner


Google Donates $1M To Rust
26/02/2024

Google has made a donation of $1 million to The Rust Foundation. The contribution has been earmarked to underwrite the Interop Initiative: a new C++/Rust interoperability effort.



Google Adds Multiple Database Support To Firestore
04/03/2024

Google has announced the general availability of Firestore Multiple Databases, which can be used to manage multiple Firestore databases within a single Google Cloud project.


More News

 

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Tuesday, 05 April 2016 )