R – PDFTK Alternative


We've been using a free commandline utility called PDFTK which we make a system call to from a Ruby on Rails app to split PDFs into individual pages. However, it only supports PDF Version 1.4 and back.

Can anyone recommend another utility or gem/Rails plugin to similarly manipulate later version PDFs?


Best Solution

pdftk is built on iText (dated 2002). It should be possible to tweak it so that it builds with the latest version of iText, or alternatively install java and call iText directly.

Related Question