using (Aspose.Pdf.Document document = new Aspose.Pdf.Document(item.FullName))
{
Aspose.Pdf.RgbToDeviceGrayConversionStrategy strategy = new Aspose.Pdf.RgbToDeviceGrayConversionStrategy();
for (int idxPage = 1; idxPage…...environment with library version 23.9 and got a valid result. Perhaps...