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

Free Support Forum - aspose.com

Image grayScale is not returning correct value


Image.ImageData.GrayScale is always returning false when we add a Grayscale image to word document( all formats (.docx, .doc, .rtf) .Below is the code I used to run for checking Grayscale .Attached the grayscale images along with the post.

I have used the following code :

Document doc = new Document(“document1.docx”);
foreach (Shape image in doc.GetChildNodes(NodeType.Shape, true))
bool isGrayScale = image.ImageData.GrayScale;

Hi Jeethu,

This issue has been logged into our issue tracking system as WORDSNET-12025. We will keep you updated on this issue in this thread.

Best Regards,

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

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