> 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/encodecolorimages.md).

# EncodeColorImages

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

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

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