Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

brunoargolo
Copy link
Contributor

When using stream writer with background images, all works fine if you dont commit the worksheets before commiting the workbook.

but when explicitly commiting the worksheet first the file becomes corrupted.
This is becasue the "name" property of the media is only created on workbook commit but its needed on the worksheet commit.

Added integration test to reproduce it and fix by defining the "name"property early on addImage.

@alubbe alubbe merged commit 4d9cddb into exceljs:master Feb 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants