PDF extractor options are ignored
crazy4groovy opened this issue · 4 comments
crazy4groovy commented
Why does the pdf extractor ignore the options?
dbashford commented
Which options are you interested in?
crazy4groovy commented
-layout
and -nopgbrk
dbashford commented
The short answer to your question is: "If they were documented well within the node module I may have known to use them."
How do those get passed into the node module?
For instance nopgbrk
would be a boolean
?
var options = {
cwd: "./"
}
extract(filePath, options, function (err, pages) {
if (err) {
console.dir(err)
return
}
console.dir('extracted pages', pages)
})
dbashford commented
Quick note, the library has, since the last note here, been updated to include documentation, so I will be allowing options to be passed in with the next release.