Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/peterdee/pdf-cutter

Cuts and converts the provided PDF file
https://github.com/peterdee/pdf-cutter

pdf pdf-cutter pdf2pic pdfjs-dist

Last synced: about 2 months ago
JSON representation

Cuts and converts the provided PDF file

Awesome Lists containing this project

README

        

## PDF Cutter

Cuts and converts the provided PDF file into multiple image files.

### Deployment

Requires `ghostscript` and `graphicsmagick`:

```shell script
brew install graphicsmagick
brew install ghostscript
```

Install the project:

```shell script
git clone https://github.com/peterdee/pdf-cutter
cd ./pdf-cutter
nvm use 16
npm i
```

### Usage

Run the following script inside of the project directory:

```shell script
npm start ~/path/to/file.pdf
```

A new directory with the results of conversion is going to be created (named after a file)

### License

[MIT](./LICENSE.md)