0.11.2 • Published 2 years ago

poppler-simple v0.11.2

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

poppler-simple Build Status

A simple javascript interface to poppler library.

Requirements:

  1. iconv implementation (usually included in glibc).
  2. Modern poppler library version (>= 0.18).

Install:

npm install poppler-simple

CentOS

To install the poppler libraries on CentOS the following packages need to be installed:

sudo yum install poppler poppler-utils poppler-cpp-devel

Ubuntu

To install the poppler libraries on Ubuntu the following packages need to be installed:

sudo apt-get install libpoppler-cpp-dev libpoppler-private-dev

Install 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

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.

0.11.2

2 years ago

0.11.0

2 years ago

0.11.1

2 years ago

0.10.3

2 years ago

0.10.2

3 years ago

0.10.1

3 years ago

0.10.0

4 years ago

0.9.0

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.0

5 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.9

7 years ago

0.2.8

7 years ago

0.2.7

7 years ago

0.2.6

7 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.10

9 years ago

0.1.9

9 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago