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

Free Support Forum - aspose.com

Compare Two Word documents using Java | option to ignore changes in images | Produce Changes as Edit and Format Revisions


Using Aspose Words 20.2 for Java.

When comparing documents (using the Document#compare() method), we sometimes have the need to ignore changes to images from the comparison. However, the CompareOptions class does not seem to have an option to control this.

Could you add a new option to control this aspect of the comparison process?

Thanks in advance,


To ensure a timely and accurate response, please ZIP and attach the following resources here for testing:

  • Your simplified input Word documents
  • Aspose.Words for Java 20.2 generated output DOCX file showing the undesired behavior
  • Your expected DOCX file showing the desired output. You can create this document by using MS Word.
  • Please also create a standalone simple console application (source code without compilation errors) that helps us to reproduce your current problem on our end and attach it here for testing. Please do not include Aspose.Words DLL files in it to reduce the file size.

As soon as you get these pieces of information ready, we will start investigation into your scenario and provide you more information. Thanks for your cooperation.