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

Support for embedding image into a cell #339

Open
elemerz opened this issue Oct 6, 2023 · 2 comments
Open

Support for embedding image into a cell #339

elemerz opened this issue Oct 6, 2023 · 2 comments

Comments

@elemerz
Copy link

elemerz commented Oct 6, 2023

02-Shield.xlsx
It would be very nice to add a new feature to embed an image into an xlsx file which does NOT float over the worksheet, but it is tied inside a cell, it moves/grows with the cell.
I know we can link an external image via the =IMAGE("https://some-image-host.com/sample-image.png"), but this would be an external link, and sometimes that's not a good solution...
See my attached 02-Shield.xlsx file containing such an embedded png file in a cell.

@Edsuns
Copy link

Edsuns commented Mar 21, 2024

Hi. I use =IMAGE to embed an ext image, but failed.

Here is my code:

            Worksheet ws = wb.newWorksheet("AllCallChains");
            ws.formula(0, 0, "=IMAGE(\"https://some-image-host.com/sample-image.png\")");

and the result xlsx file looks:
image

There is a @ before IMAGE, and the formula can't be recognized. Do you have any solutions? Thanks!

@vdariel
Copy link

vdariel commented Sep 19, 2024

@Edsuns did you find a solution? I'm having the same issue

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

3 participants