Commit b9b1ca3e authored by Fred Chasen's avatar Fred Chasen

Update ghostscript to be silent

parent 90aacba7
......@@ -22,7 +22,7 @@ function toMatchPDFSnapshot(received, page=1) {
try {
// create image
gs.executeSync(`-dBATCH -dNOPAUSE -dFirstPage=${page} -dLastPage=${page} -sDEVICE=pngalpha -o ${imagePath} -sDEVICE=pngalpha -r144 ${pdfPath}`)
gs.executeSync(`-psconv -q -dBATCH -dNOPAUSE -dFirstPage=${page} -dLastPage=${page} -sDEVICE=pngalpha -o ${imagePath} -sDEVICE=pngalpha -r144 ${pdfPath}`)
// load image
pdfImage = fs.readFileSync(imagePath);
// remove output
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment