i have a export excel project with picture,os windows is ok ,but linux is wrong with no Unresponsive,the server cpu is increase to 99%,the picture filesize has limit?
foreach (var item in items)
{
using (var stream = new MemoryStream(item.PicUrlByte))
{
var img = Image.FromStream(stream);
ExcelPicture pic = worksheet.Drawings.AddPicture($"pic{i}", img);
pic.SetSize(120, 120);
var row = i - 1;
pic.SetPosition(row, 20, 0, 10);
worksheet.Row(i).Height = 120;
}
}
Summary of the issue
i have a export excel project with picture,os windows is ok ,but linux is wrong with no Unresponsive,the server cpu is increase to 99%,the picture filesize has limit?
Output: