Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdimai666/pdf2png
https://github.com/mdimai666/pdf2png
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mdimai666/pdf2png
- Owner: mdimai666
- Created: 2019-05-18T07:44:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T05:36:03.000Z (about 2 years ago)
- Last Synced: 2023-03-06T09:11:08.802Z (almost 2 years ago)
- Language: JavaScript
- Size: 102 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Overview
Example to demonstrate converting a PDF file to a PNG image using the PDF.js library.
## Getting started
Install the dependencies and build the PDF.js library:
$ npm install
$ gulp dist-installInstall the Node canvas library and run the example to convert the first page of a
PDF file to a PNG image:$ npm install canvas
$ cd examples/node/pdf2png
$ node pdf2png.js