Adam Stacoviak

Docsplit: Break Apart Documents into Images, Text, Pages and PDFs

Docsplit is a command-line utility and Ruby library for splitting apart documents into their component parts: searchable UTF-8 plain text, page images or thumbnails in any format, PDFs, single pages, and document metadata (title, author, number of pages…)

Under the hood, Docsplit is a thin wrapper around the excellent PDFBox, GraphicsMagick, and JODConverter libraries. PDFBox is used to extract text and metadata from PDF documents, as well as to split them apart into pages. GraphicsMagick is used to generate the page images (internally, it’s rendering them with GhostScript). JODConverter communicates with OpenOffice to perform the PDF conversions.

Hat tip: @documentcloud

More software releases! Take a look at …

[code on GitHub] [documentation]


Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00