# pdf2jpg.js

> 将PDF文件转换成JPG文件

Latest version **0.0.1** (published 2019-07-01) · ISC license · 0 weekly downloads

## Install

```sh
npm install pdf2jpg.js
pnpm add pdf2jpg.js
yarn add pdf2jpg.js
bun add pdf2jpg.js
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2019-07-01 |
| First published | 2019-07-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 8.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | sunjoin@qq.com |
| Maintainers | sunjiaying |
| Keywords | pdf, jpg, convert |

## Links

- npm: https://www.npmjs.com/package/pdf2jpg.js
- npm.io page: https://npm.io/package/pdf2jpg.js

## Dependencies (2)

- [glob](https://npm.io/package/glob.md) ^7.0.3
- [temp](https://npm.io/package/temp.md) ^0.8.3

## Alternatives

- [@cantoo/pdf-lib](https://npm.io/package/@cantoo/pdf-lib.md) — 297.9K weekly downloads
- [datatables.net-buttons](https://npm.io/package/datatables.net-buttons.md) — 200.1K weekly downloads
- [@ckeditor/ckeditor5-export-pdf](https://npm.io/package/@ckeditor/ckeditor5-export-pdf.md) — 167.0K weekly downloads
- [scanbot-web-sdk](https://npm.io/package/scanbot-web-sdk.md) — 15.0K weekly downloads
- [@syncfusion/ej2-angular-pdfviewer](https://npm.io/package/@syncfusion/ej2-angular-pdfviewer.md) — 8.8K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2019-07-01

## README

pdftojpg
========

### A [NodeJS](http://nodejs.org) module for converting a PDF file to a JPG file.

This module does one thing, and one thing only.  It converts a PDF file to a JPG file.
It shold be used on single-page PDFs, but should you try to convert a multi-page PDF, only the first page will be converted.

## Author
  - Werner Vesterås <wvesteraas@gmail.com>

## Installation

To be able to use this module, the `ghostscript` tool must be installed.  On my Ubuntu machine, I installed it by typing:

```bash
$ sudo apt-get install ghostscript
```

Finally, you can install the `pdftojpg` module itself, by typing:

```bash
$ npm install pdftojpg
```

## Examples

The file `test.js` demonstrates this module in action.

---
_Source: https://npm.io/package/pdf2jpg.js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
