docx-merger
docx-merger copied to clipboard
Document images are duplicated on word/media
I`m merging documents with some images on layout. The footer images are present all over the document, and are being duplicated on the output generated file.
This behavior seems logical because of the repetition, but, I`ve 6 images that only appear 1 time in the document, and they are duplicated each time the merge is done.
I'm testing the following:
- I`ve a docx document separated in parts: part1.docx, part2.docx, part3.docx and part4.docx
- The part1.docx has the images
- I merge the part1.docx with part2.docx, generating the output1.docx
- Then I merge output1.docx with part3.docx <-- Here the error start to happen
- I do this until the last part docx
This behavior is expected ?
I`m merging documents with some images on layout. The footer images are present all over the document, and are being duplicated on the output generated file.
This behavior seems logical because of the repetition, but, I`ve 6 images that only appear 1 time in the document, and they are duplicated each time the merge is done.
I'm testing the following:
- I`ve a docx document separated in parts: part1.docx, part2.docx, part3.docx and part4.docx
- The part1.docx has the images
- I merge the part1.docx with part2.docx, generating the output1.docx
- Then I merge output1.docx with part3.docx <-- Here the error start to happen
- I do this until the last part docx
This behavior is expected ?
I'm asking because a 50mb docx become 80mb, and the next step would generate a 90mb docx but the result was a 140mb.
The duplicated images result in larger docx files.