We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Color image not converting into grayscale using Image GrayScale property


For converting color image into grayscale image Shape.ImageData.Grayscale boolean property set as true but color image not changed into grayscale image. This issue is mainly with .docx document, for .doc and .rtf it is working. Test document attached with the post.

I have used the following code :

foreach (Shape image in doc.GetChildNodes(NodeType.Shape, true))
if (image.HasImage && !image.ImageData.GrayScale)
image.ImageData.GrayScale = true;

Hi Jeethu,

Thanks for your inquiry. I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-12095. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-12095) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.