-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
How to read pictures embedded in cells #664
Comments
Did you mean that get the picture binary content from a worksheet? please reference GetPicture. |
What I mean is: after inserting the picture into Excel, it can be floating or embedded, the floating one can be obtained, but the embedded one cannot be obtained |
Thanks for your feedback. Which version of Excelize are you using, could you provide non-confidential information attachment? |
The version is v2 |
Please follow by issue template to provide code/attachments and steps to reproduce the issue, which will helpful for me quickly resolve the issue. |
Description Steps to reproduce the issue: file, raw, err := f.GetPicture("Sheet1", "D3")
# err is nil
# raw is []
# file is empty Describe the results you received: file, raw, err := f.GetPicture("Sheet1", "D3")
# err is nil
# raw is []byte{...}
# file is file name Output of GO111MODULE="auto"
GOARCH="amd64"
GOBIN="/Users/hevi/go/bin"
GOCACHE="/Users/hevi/Library/Caches/go-build"
GOENV="/Users/hevi/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY="code.gz66.net"
GONOSUMDB="code.gz66.net"
GOOS="darwin"
GOPATH="/Users/hevi/go"
GOPRIVATE="code.gz66.net"
GOPROXY="https://goproxy.cn,direct"
GOROOT="/usr/local/Cellar/go/1.13.8/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.13.8/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/hevi/goWorks/code.gz66.net/sqzl/go-zl-edge/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/r0/hh7_wynx3h3dclx7x_szbdkc0000gn/T/go-build744695952=/tmp/go-build -gno-record-gcc-switches -fno-common" Environment details (OS, Microsoft Excel™ version, physical, etc.):
|
Embedded picture in the Kingsoft WPS will set cell with formula DISPIMG, excelize not support it currently, and it can't work with other spreadsheet applications, such as Microsoft Excel, Apache OpenOffice, LibreOffice, etc, please use a floating picture instead of an embedded picture if you can. |
OK, Thank you!! |
@xuri Hi, can you support this, all other open source is supported, the relevant programs are as follows: |
Thanks for your feedback. I'll consider to add support for this. |
The |
Publish it soon |
When is this version expected to be released? Please let me know |
The version 2.8.1 will be released on February 26, 2024. |
No description provided.
The text was updated successfully, but these errors were encountered: