exceljs / exceljs

Excel Workbook Manager
MIT License
13.77k stars 1.76k forks source link

[BUG] Load Image Media not be read rotation property #1370

Open nguyen-mt opened 4 years ago

nguyen-mt commented 4 years ago

🐛 Load Image Media not be read rotation property

Lib version: 4.0.1

When I read excel xlxs file and then write new file from readed data. Rotation property of image not be read, so when write file with corrupted images

// Read File
var workbook = new EXCELJS.Workbook()
workbook.xlsx.readFile(filePath)

/* Main process: adding other medias, mainpulate cell */

// Write File
workbook.xlsx.writeFile('newfilename.xlsx', { useSharedString: true, useStyles: true })

Please update rotation when read and write media.

nguyen-mt commented 4 years ago

Origin file before read

Screen Shot 2020-07-03 at 10 27 37

Writed file

Screen Shot 2020-07-03 at 10 29 35

Please update rotation when read and write media.

zjhiphop commented 1 year ago

Any updates?

zurmokeeper commented 1 year ago

@zjhiphop If you don't mind, keep an eye on the program, or drop me an issue here so I can see what's wrong when I have time.

LuisGH7 commented 1 week ago

Any updates?