summaryrefslogtreecommitdiff
path: root/docs/mutool/examples/pdf-create.js
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-05-04 18:00:37 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-05-13 11:42:00 +0200
commit9dda5aa73d6dcb72c9f10b87564afe7491575faf (patch)
tree31c3e2b2fb16431ad7236f7a44e206a3a391061b /docs/mutool/examples/pdf-create.js
parent74d75a7a6f3ea4bef5b4489c65e8a876ae480c76 (diff)
downloadmupdf-9dda5aa73d6dcb72c9f10b87564afe7491575faf.tar.xz
Add long output option parsing.
Use comma-separated list of flags and key/value pairs, for example: "linearize,resolution=72,colorspace=gray"
Diffstat (limited to 'docs/mutool/examples/pdf-create.js')
-rw-r--r--docs/mutool/examples/pdf-create.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/mutool/examples/pdf-create.js b/docs/mutool/examples/pdf-create.js
index 131e72b3..290d1737 100644
--- a/docs/mutool/examples/pdf-create.js
+++ b/docs/mutool/examples/pdf-create.js
@@ -32,4 +32,4 @@ var page = pdf.addPage([0,0,300,350], 0, resources, contents)
pdf.insertPage(-1, page)
// Save the document to file.
-pdf.save("out.pdf", "paif")
+pdf.save("out.pdf", "pretty,ascii,compress-images,compress-fonts")