Skip to content

Cuts and converts the provided PDF file

License

Notifications You must be signed in to change notification settings

peterdee/pdf-cutter

Repository files navigation

PDF Cutter

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

Deployment

Requires ghostscript and graphicsmagick:

brew install graphicsmagick
brew install ghostscript

Install the project:

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:

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

About

Cuts and converts the provided PDF file

Topics

Resources

License

Stars

Watchers

Forks