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

Is it possible to embed images? #46

Open
pdamoc opened this issue Aug 31, 2017 · 8 comments
Open

Is it possible to embed images? #46

pdamoc opened this issue Aug 31, 2017 · 8 comments

Comments

@pdamoc
Copy link

pdamoc commented Aug 31, 2017

I have a workflow where I'm generating the .xlsx and uploading it to S3.

Would it be possible to embed an image either by reading a file or by using a Base64 encoding?

If the current version does not support this would it be technically feasible to add such a feature?

@Fabi755
Copy link
Collaborator

Fabi755 commented Aug 31, 2017

This also is not possible but it's a nice new feature. I validate how to include this function.

@proactively
Copy link

I made a start on this in my fork https://github.com/proactively/elixlsx on branch "image-support"

A few apologies: My editor setup runs mix format automatically so by the time I was half way through I realised half the files were reformatted. So I backtracked, ran mix format on the whole codebase then re-applied my wip. So my image support will only apply cleanly to a mix formatted repo.

Also not much in the way of tests and I don't have any time right now to add them.

Anyway, just a heads up in case it's useful for anyone

@xou
Copy link
Owner

xou commented Jul 10, 2018

Awesome! Feel free to send a pull request for the mix formatted codebase at any time as well.

@manveru
Copy link

manveru commented Feb 25, 2019

@proactively are you still planning to make a PR for this?

@proactively
Copy link

proactively commented Feb 25, 2019 via email

@proactively
Copy link

PR submitted

@elalaouifaris
Copy link

Hi,
Really cool feature. Do you still have plans to merge this in the base code?
Currently checking this for a side project where I need image upload in excel files.

Thanks!

@proactively
Copy link

proactively commented May 15, 2020 via email

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

No branches or pull requests

5 participants