A simple javascript interface to poppler library.
- iconv implementation (usually included in glibc).
- 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