Ruby Icon

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

logged by @logbot 2009-12-07T17:41:00Z permalink #ruby

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]

0:00 / 0:00