Skip to content
This repository was archived by the owner on Jan 25, 2019. It is now read-only.
This repository was archived by the owner on Jan 25, 2019. It is now read-only.

export excel with picture in ubuntu #39

@zqxin45

Description

@zqxin45

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?

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;
       }
}

Output:

Exception message:
Full Stack trace:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions