excelize icon indicating copy to clipboard operation
excelize copied to clipboard

can insert multiple pictures into one cell ?

Open JohnnyTing opened this issue 3 years ago • 5 comments

 hello, i may need a feature that can insert multiple images into one cell,   have this feature now?

JohnnyTing avatar Mar 12 '21 09:03 JohnnyTing

Yep, please reference the document, you can specify scale, offset, size, and position by AddPicture

xuri avatar Mar 12 '21 09:03 xuri

@xuri thanks, i got it

JohnnyTing avatar Mar 12 '21 09:03 JohnnyTing

@xuri hello, how to retrieve mutiple pictures from one cell? i'm not find the related api

func (f *File) GetPicture(sheet, cell string) (string, []byte, error), this return first picture []byte?

JohnnyTing avatar Mar 15 '21 09:03 JohnnyTing

That does not support extracting multi-image by GetPicture currently, I'll consider adding this feature later.

xuri avatar Mar 15 '21 09:03 xuri

That does not support extracting multi-image by GetPicture currently, I'll consider adding this feature later.

ok, and have other method to finish it now?

JohnnyTing avatar Mar 15 '21 09:03 JohnnyTing

This issue has been fixed by PR #1389 and #1501.

xuri avatar Mar 20 '23 08:03 xuri