Thanks for sharing the input documents. In case you are using old version of Aspose.Words, we suggest you please use latest version of Aspose.Words for Java 17.6. We have not found any duplicate images in output documents while using code example shared in following post.