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

Expose more picture information #1699

Open
yicixin opened this issue Oct 24, 2023 · 0 comments
Open

Expose more picture information #1699

yicixin opened this issue Oct 24, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@yicixin
Copy link
Contributor

yicixin commented Oct 24, 2023

Description
I'm currently trying to import images from Excel into my online sheet project using excelize. However, the excelize.Picture does not provide information on the image's scaling and offset in Excel, making it impossible to reproduce the image's size and proportion as seen in Excel. After some investigation, I've confirmed that this data is indeed parsed into deCellAnchor.Pic. Would it be possible to expose this data to external?

I understand some of the complexities involved here. The image size recorded in Excel is not in pixels but in EMU units. It requires a determined DPI to convert it to pixels. Directly exposing this data to external users might not be the best approach. However, providing such information is essential. This brings up the consideration of how to implement it elegantly.

I believe there's a need for a more elegant solution, that can help users access this information in a way that's intuitive and useful.

@xuri xuri added the enhancement New feature or request label Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants