> For the complete documentation index, see [llms.txt](https://mostafaznv.gitbook.io/pdf-optimizer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mostafaznv.gitbook.io/pdf-optimizer/advanced-usage/configuring-ghostscript/encodemonoimages.md).

# EncodeMonoImages

| Method Name      | Argument Name | Argument Type |
| ---------------- | ------------- | ------------- |
| encodeMonoImages | status        | boolean       |

If <mark style="color:red;">true</mark>, monochrome images are encoded using the compression filter specified by the value of <mark style="color:red;">MonoImageFilter</mark>.

If <mark style="color:red;">false</mark>, no compression filters are applied to monochrome images.
