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

How to get a picture in a cell ? #34

Closed
JermineHu opened this issue Mar 28, 2017 · 4 comments
Closed

How to get a picture in a cell ? #34

JermineHu opened this issue Mar 28, 2017 · 4 comments

Comments

@JermineHu
Copy link

I need import some data to mongodb and the row data have a picture need to save another path ! I don't want to upload excel and pictures two times, so how do I get a picture from the cell ? Here are my previous snippets and related links(https://github.com/tealeg/xlsx/issues/49), but there's no real solution,that made me a little anxious ! Thanks a lot !

qq20170323-173945

qq20170323-174044

qq20170324-175016

@xuri xuri added the enhancement New feature or request label Mar 28, 2017
@xuri
Copy link
Member

xuri commented Mar 28, 2017

@JermineHu Thanks for your issue. I'll consider adding the function GetPicture() to get the file handle.

@JermineHu
Copy link
Author

@Luxurioust Thanks a lot !

@xuri xuri added in progress Working in progress and removed enhancement New feature or request labels Mar 28, 2017
@xuri
Copy link
Member

xuri commented Mar 28, 2017

@JermineHu Hi, I have added new function GetPicture() to use this please reference godoc. It is worth mentioning that I haven't yet found a good way to collect all attributes use encoding/xml package, so I defined two structures encodeWsDr, decodeWsDr and swapping them, this will cause performance problems. I will continue to optimize this.

@xuri xuri removed the in progress Working in progress label Mar 28, 2017
@JermineHu
Copy link
Author

@Luxurioust Quickly response very commendable, You are a good person to help others! Persistent optimization is great ! Thanks again !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants