When we are comparing two word documents, Aspose API is showing image differences though no changes in images between the two word documents.
We are using following API to compare two Word documents using Aspose.Words for Java Version 15.7 (aspose-words-15.7.0-jdk16.jar).
==> Document.compare(Document document, java.lang.String author, java.util.Date dateTime)
Attached the two documents used for the comparison for this case:
- “SourceDoc.docx” – source doc
- “TargetDoc.docx” – source doc modified to this doc
If you see these documents… there are only textual changes… but there are no changes to images… But still Aspose API shows two revision types, namely, INSERTION and DELETION for each image in the document (BUG).
Attached “Compare_by_Aspose.docx” which is the result of comparing source and target documents by Aspose API.
Attached “Compare_by_MS_Word_CompareDocuments.docx” – result of comparing source and target documents by MS Word application by going to MS Word -> Review tab -> Select Compare -> Select two files… This doesn’t show any difference in images!!
Am i doing anything wrong?
How to handle this?
Can you please fix this issue?