poppler-simple

A simple interface to poppler library

A simple javascript interface to poppler library.

  1. iconv implementation (usually included in glibc).
  2. Modern poppler library version (>= 0.18).
npm install poppler-simple
var PopplerDocument = require('poppler-simple').PopplerDocument;
var doc = new PopplerDocument('file://' + pathToDocument);
var page = doc.getPage(pageNum);
var buf = page.renderToBuffer('jpeg', 120, {'quality': 75});

For more info see test/test.js