Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetPictureCells returns an empty result #1888

Closed
GreenHatHG opened this issue Apr 29, 2024 · 1 comment
Closed

GetPictureCells returns an empty result #1888

GreenHatHG opened this issue Apr 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@GreenHatHG
Copy link

Description

Steps to reproduce the issue:

	f, _ := excelize.OpenFile("2.xlsx")
	defer f.Close()
	cell, err := f.GetPictureCells("sheet")
	fmt.Println(cell, err)
	pics, err := f.GetPictures("sheet", "A2")
	fmt.Println(pics, err)

Describe the results you received:
The function GetPictureCells returns an empty result.
Describe the results you expected:
There is a picture at cell A2.
Output of go version:

GOVERSION='go1.22.2'

Excelize version or commit ID:

github.com/xuri/excelize/v2 v2.8.1

Environment details (OS, Microsoft Excel™ version, physical, etc.):
xlsx:
2.xlsx

image

@xuri xuri added the bug Something isn't working label May 2, 2024
@xuri xuri closed this as completed in edd6a5d May 3, 2024
@xuri
Copy link
Member

xuri commented May 4, 2024

Thanks for your issue. I have fixed this issue. Please upgrade to the master branch code by go get -u github.com/xuri/excelize/v2@master. This patch will be released in the next version.

@xuri xuri moved this to Bugfix in Excelize v2.9.0 Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: Bugfix
Development

No branches or pull requests

2 participants