Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ropensci/qpdf

Split, Combine and Compress PDF files
https://github.com/ropensci/qpdf

r r-package rstats

Last synced: 11 days ago
JSON representation

Split, Combine and Compress PDF files

Awesome Lists containing this project

README

        

# qpdf

> Split, Combine and Compress PDF files

[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/qpdf)](http://cran.r-project.org/package=qpdf)
[![CRAN RStudio mirror downloads](http://cranlogs.r-pkg.org/badges/qpdf)](http://cran.r-project.org/web/packages/qpdf/index.html)

Content-preserving transformations transformations of PDF files such as split, combine, and compress. This package interfaces directly to the 'qpdf' C++ API and does not require any command line utilities. Note that 'qpdf' does not read actual content from PDF files: to extract text and data you need the 'pdftools' package.

## Hello World

All functions take one or more input and output pdf files.

```r
library(qpdf)
pdf_compress("~/Downloads/v71i02.pdf")
```

> ```
> [1] "/Users/jeroen/Downloads/v71i02_output.pdf"
> ```