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)