Comments (1)
Thank you for bringing up this issue. I've encountered a similar problem when using the library. Specifically, when setting
var c = new OpenXmlConfiguration
{
EnableConvertByteArray = true
};
to insert the images to the template, I encountered an exception in the UpdateDimensionAndGetRowsInfo method.
After investigating this issue, I suspect that there might be a limitation in the current library's ability to handle byte arrays in the templates.
As a temporary workaround, I've used the ClosedXML library to insert my images into the templates first, and then I've used MiniExcel to insert the rest of the values. This approach might not be ideal, but it may serve to unblock your progress until this issue is addressed by the library authors.
It would be a great feature enhancement if the library could support the inclusion of images from byte arrays inside templates directly. Looking forward to this enhancement.
from miniexcel.
Related Issues (20)
- CSV 单纯含有空格 没必要在在首尾添加引号
- JsonObject as data source
- SaveAs方法保存时对于已存在文件不进行覆盖,在原有文件上进行增加
- Hide sheets if Data is empty - using template (SaveAsByTemplateAsync)
- Can ExcelFormat support the format of setting time in both English and Chinese?
- Saving an excel file using FastMode creates an invalid excel file HOT 1
- 希望能增加导出时可以指定某些列隐藏的支持。
- 导出SaveAsTemplate时,数据源结构
- 如何实现基于该模板的导出?SaveAsTemplate
- api 难以理解
- Combinint @group and Formulas (template) HOT 1
- 使用@group标签模板,SaveAsByTemplate方法抛出空指针异常 HOT 1
- write formula to Excel, formula treated as string
- Memory issue after deleting a row from .xlsx file with Libreoffice Calc HOT 1
- 7. 创建多个工作表(Sheet),这个功能亲测不可用 HOT 2
- 单元格样式
- Entire Column Format
- Query skips empty rows represented as self-closing tags.
- ExcelColumnName 兼容[Description]或[Display]特性
- Add hyperlink on each row when create excel HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miniexcel.