1 parent b45312c commit 8c78da5Copy full SHA for 8c78da5
2 files changed
.travis.yml
@@ -6,7 +6,7 @@ node_js:
6
7
before_install:
8
- sudo apt-get -qq update
9
- - sudo apt-get install imagemagick ghostscript poppler-utils
+ - sudo apt-get install imagemagick ghostscript poppler-utils graphicsmagick
10
11
before_script:
12
- npm link
test/test.js
@@ -64,7 +64,10 @@ describe('Sample tests', function () {
64
)
65
process.on('close', async function (code) {
66
assert.equal(code, 0)
67
- var pdfImage = new PDFImage(paths.pdf, { combinedImage: true })
+ var pdfImage = new PDFImage(paths.pdf, {
68
+ combinedImage: true,
69
+ graphicsMagick: true
70
+ })
71
try {
72
var imgPath = await pdfImage.convertFile()
73
} catch (error) {
0 commit comments