diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2022-09-28 03:00:49 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-28 03:00:49 -0600 |
| commit | 4df03898faefcda99bc4cd3a751a95dba3b4d690 (patch) | |
| tree | f6f90dbc55fa999066ca6bc4263f9fe1f28fd973 /docs/modules/ROOT/pages | |
| parent | 02fabe0da4e5aa8ac7deb9b7325adf0430f6e028 (diff) | |
resolves #2347 add support for passing a color mode to the default optimizer (PR #2348)
Diffstat (limited to 'docs/modules/ROOT/pages')
| -rw-r--r-- | docs/modules/ROOT/pages/optimize-pdf.adoc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/modules/ROOT/pages/optimize-pdf.adoc b/docs/modules/ROOT/pages/optimize-pdf.adoc index 4fdfedb7..3006d500 100644 --- a/docs/modules/ROOT/pages/optimize-pdf.adoc +++ b/docs/modules/ROOT/pages/optimize-pdf.adoc @@ -78,6 +78,14 @@ Force all text to be converted to paths (linework) so it's not selectable (in ex -sOwnerPassword=xyx -sUserPassword=xyx:: Require a password to open the document (owner for edit, user for view). +As a shorthand for using the `-sColorConversionStrategy=Gray` option, you can pass the `gray` color mode after the quality value: + + -a optimize=screen:gray + +You can also force all text to render in black in the grayscale document using the `bw` (i.e., black and white) color mode: + + -a optimize=print:bw + In addition to optimizing the PDF file, you can also configure the optimizer to convert the document from standard PDF to PDF/A or PDF/X. To do so, you can pass one of the following compliance keywords in the value of the optimize attribute: `PDF/A`, `PDF/A-1`, `PDF/A-2`, `PDF/A-3`, `PDF/X`, `PDF/X-1`, or `PDF/X-3`. |
