From 790c363cceaaa09e91ad579e2d25cb13c1582bba Mon Sep 17 00:00:00 2001 From: xuri Date: Sat, 18 Sep 2021 23:20:24 +0800 Subject: This closes #833, closes #845, and closes #1022, breaking changes - Close spreadsheet and row's iterator required - New options `WorksheetUnzipMemLimit` have been added - Improve streaming reading performance, memory usage decrease about 93.7% --- picture.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'picture.go') diff --git a/picture.go b/picture.go index ecd6d94..332c639 100644 --- a/picture.go +++ b/picture.go @@ -497,6 +497,9 @@ func (f *File) getSheetRelationshipsTargetByID(sheet, rID string) string { // if err := ioutil.WriteFile(file, raw, 0644); err != nil { // fmt.Println(err) // } +// if err = f.Close(); err != nil { +// fmt.Println(err) +// } // func (f *File) GetPicture(sheet, cell string) (string, []byte, error) { col, row, err := CellNameToCoordinates(cell) -- cgit v1.2.1