1.0.3 • Published 2 years ago

pdf-into-jpg v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

PDF Into JPG

Exports images inTO JPG from a PDF file to disk.

Use via CLI

Usage: npx pdf-into-jpg <file> [dir]

Arguments:
  file        path to PDF file
  dir         image destination directory (default: ".")

You can also install the package globally via npm i -g pdf-into-jpg to run the command without npx

Programatic use

install

npm i pdf-into-jpg

script.js

import { exportImages } from 'pdf-into-jpg'
exportImages('file.pdf', 'output/dir')
  .then(images => console.log('Exported', images.length, 'images'))
  .catch(console.error)

See: cli.js for progress details during export.

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.9

2 years ago