Issue in grayscaling PDF Document

Hi team,
can you suggets me any way to black n white pdf document.
I am trying to gray scale the document and this is the code snippet I am using…

Aspose.Pdf.RgbToDeviceGrayConversionStrategy strategy = new Aspose.Pdf.RgbToDeviceGrayConversionStrategy();

        for (int idxPage = 1; idxPage <= pdf.Pages.Count; idxPage++)
        {
            Page page = pdf.Pages[idxPage];
            strategy.Convert(page);
        }

I found a very terrible output from this…please check the attached file.

Pdf.zip (1.5 MB)

@kotharib2

Thank you for contacting support.

We have noticed better results with Aspose.PDF for .NET 18.11 in our environment, generated PDF document has been attached for your kind reference Test_18.11.pdf. Would you please upgrade to latest version and then share your kind feedback with us.