2. Code:
- Code: Select all
Workbook workbook = new Workbook();
workbook.LoadFromFile("Book1.xlsx");
Worksheet sheet = workbook.Worksheets[0];
using var stream= sheet.ToImage( 1, 1, 2, 3);
3. Version: FreeSpire.XLS Version="14.2.0"
4. Alpine
5. ASP.Net API using net8.0
Exception:
- Code: Select all
System.NullReferenceException: Object reference not set to an instance of an object.
at spr愖.廏()
at spr悬..ctor(spr愖 A_0)
at spr悬..ctor(spr愖 A_0, Single A_1)
at spr悬..ctor(spr愖 A_0, Single A_1, spr態 A_2)
at spr悬..ctor(spr愖 A_0, Single A_1, spr態 A_2, spr憵 A_3)
at spr悬..ctor(spr愖 A_0, Single A_1, spr態 A_2, spr憵 A_3, Byte A_4
My code worked fine in windows and ubuntu but cannot work in alpine
Please see my Dockerfile for more detail