We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
addBackgroundImage not working. addImage and eachSheet are working fine. even ws.addImage works fine.
But addBackgroundImage is not working ...
Lib version: X.Y.Z
const imageId = workbook.addImage({ buffer: image as Buffer, extension: "png", }); workbook.eachSheet((ws, _sheetId) => { ws.addBackgroundImage(imageId); })
Image to be added to background successfully
"exceljs": "^4.4.0"
node 18.17.1
The text was updated successfully, but these errors were encountered:
+1
Unable to see background image when adding with the following code:
worksheet.columns = rows[0].map(header => { return { header, key: `column${header}`, width: columnWidthMap[header] || columnWidthMap.default } }) worksheet.insertRows(2, rows.slice(1)) const imageId1 = workbook.addImage({ filename: 'src/modules/survey/mail_logo.png', extension: 'png', }) worksheet.addBackgroundImage(imageId1) // does not work return workbook``` using exceljs "^4.4.0" node v21.6.1
Sorry, something went wrong.
No branches or pull requests
馃悰 Bug Report
addBackgroundImage not working. addImage and eachSheet are working fine. even ws.addImage works fine.
But addBackgroundImage is not working ...
Lib version: X.Y.Z
Steps To Reproduce
The expected behaviour:
Image to be added to background successfully
"exceljs": "^4.4.0"
node 18.17.1
The text was updated successfully, but these errors were encountered: