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

Add support for header/footer image buffers #384

Open
mohd-akram opened this issue Nov 16, 2022 · 1 comment
Open

Add support for header/footer image buffers #384

mohd-akram opened this issue Nov 16, 2022 · 1 comment
Assignees

Comments

@mohd-akram
Copy link
Contributor

I noticed there's no way to insert a header/footer image via a buffer. I'm thinking perhaps the lxw_header_footer_options struct can have three new fields, image_left_size, image_center_size and image_right_size. If one is non-zero, its corresponding image field is read as a buffer instead of a filename.

@jmcnamara
Copy link
Owner

I noticed there's no way to insert a header/footer image via a buffer.

I stopped short of adding that because I thought that I would wait until someone requested it. And also because the interface was going to be a bit complicated. I still don't have a strong idea about what it should look like. I'll need to think about it for a while, or at least get some time to think about it.

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

2 participants