-
Notifications
You must be signed in to change notification settings - Fork 79
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
webshot2 does not allow transparent tables. #227
Comments
This comment has been minimized.
This comment has been minimized.
I don't really know how to fix that. Table cells are transparent. I think the white is coming from the body background of the web page that is considered as white by chrome (via webshot2). When |
I guess there are nothing we can do within flextable. The following link infers However, I guess webshot2 package does not have feature to specify it. I also challenged modify the chromote package to include
@wch Do you have any ideas? |
According to this, the background color probably needs to be set via the Chrome Devtools Protocol. If you want to see if it actually works, I suggest trying first by issuing commands with Chromote. Then if that works, the changes could be brought into webshot2. |
@wch Thanks for the comments! I'll try later. |
I can confirm, this command is producing a transparent image (and if no
|
Great! I'm suffering some issues with using headless chrome on Docker... |
This can't be fixed from flextable. |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary. |
Using flexible 0.5.10, when trying to save out a table that uses webshot2 (for bold rendering), the transparent argument does not work.
The text was updated successfully, but these errors were encountered: