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

# DownsampleGrayImages

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

If <mark style="color:red;">true</mark>, grayscale images are downsampled using the resolution specified by <mark style="color:red;">GrayImageResolution</mark>.

If <mark style="color:red;">false</mark>, downsampling does not occur, and the resolution of grayscale images in the PDF file is the same as the source images.
