The pdftk_utils gem is a API-compatible port of gs_pdf_utils to pdftk and provides simple pdf processing.