Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/docs/tools/mutool-recolor.rst @ 3:2c135c81b16c
MERGE: upstream PyMuPDF 1.26.4 with MuPDF 1.26.7
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:44:09 +0200 |
| parents | b50eed0cc0ef |
| children |
comparison
equal
deleted
inserted
replaced
| 0:6015a75abc2d | 3:2c135c81b16c |
|---|---|
| 1 mutool recolor | |
| 2 ============== | |
| 3 | |
| 4 The ``recolor`` command changes the colorspaces used in | |
| 5 a PDF file. | |
| 6 | |
| 7 .. code-block:: bash | |
| 8 | |
| 9 mutool recolor [options] file | |
| 10 | |
| 11 ``[options]`` | |
| 12 Options are as follows: | |
| 13 | |
| 14 ``-c`` colorspace | |
| 15 The desired colorspace used in the output document: ``gray`` (default), ``rgb`` or ``cmyk``. | |
| 16 | |
| 17 ``-o`` output file | |
| 18 Use the specified filename for the output PDF file with altered colorspaces. | |
| 19 | |
| 20 ``-r`` | |
| 21 Remove any output intents present in the input file. | |
| 22 | |
| 23 ``file`` | |
| 24 Input file name. The input must be a PDF file. |
