poppler-simple v0.11.2
poppler-simple 
A simple javascript interface to poppler library.
Requirements:
- iconv implementation (usually included in glibc).
- Modern poppler library version (>= 0.18).
Install:
npm install poppler-simpleCentOS
To install the poppler libraries on CentOS the following packages need to be installed:
sudo yum install poppler poppler-utils poppler-cpp-develUbuntu
To install the poppler libraries on Ubuntu the following packages need to be installed:
sudo apt-get install libpoppler-cpp-dev libpoppler-private-devInstall in Docker:
See Dockerfile.example for inspiration/information
Documentation:
Documentation is available in form of typescript definitions.
Example:
import { PopperDocument } from 'poppler-simple';
let doc = new PopplerDocument('file://' + pathToSomeDocument);
let page = doc.getPage(pageNum);
// renders page to a buffer in jpeg format with 75 quality and 120 DPI:
let result = page.renderToBuffer('jpeg', 120, {'quality': 75});License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago