GitHub user dosubot[bot] added a comment to the discussion: Deck.gl map change
style directly on dashboard
<!-- Answer -->
To enhance the quality of PDF exports in Superset using WebDriver, you can
adjust the image quality settings by configuring the WebDriver with specific
options. Add the following settings to your `superset_config.py` or
`superset_config_docker.py` file:
```python
WEBDRIVER_OPTION_ARGS = [
"--force-device-scale-factor=2.0",
"--high-dpi-support=2.0",
"--headless",
"--disable-gpu",
"--disable-dev-shm-usage",
"--no-sandbox",
"--disable-setuid-sandbox",
"--disable-extensions"
]
```
The options `--force-device-scale-factor=2.0` and `--high-dpi-support=2.0` are
particularly important for enhancing image quality by increasing the DPI and
scale factor
<sup>[[1]](https://github.com/apache/superset/discussions/31432)</sup>.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
---
<sup>Help Dosu learn! Give it feedback: [Great
Response](https://app.dosu.dev/response-feedback/d0de1b71-8cf5-4343-8b21-0eeb49a7a378?feedback_type=great_response)
| [Irrelevant
Answer](https://app.dosu.dev/response-feedback/d0de1b71-8cf5-4343-8b21-0eeb49a7a378?feedback_type=irrelevant_answer)
| [Incorrect
Sources](https://app.dosu.dev/response-feedback/d0de1b71-8cf5-4343-8b21-0eeb49a7a378?feedback_type=incorrect_sources)
| [Too
Verbose](https://app.dosu.dev/response-feedback/d0de1b71-8cf5-4343-8b21-0eeb49a7a378?feedback_type=too_verbose)
|
[Hallucination](https://app.dosu.dev/response-feedback/d0de1b71-8cf5-4343-8b21-0eeb49a7a378?feedback_type=hallucination)
| [Bug
Report](https://app.dosu.dev/response-feedback/d0de1b71-8cf5-4343-8b21-0eeb49a7a378?feedback_type=bug_report)
|
[Other](https://app.dosu.dev/response-feedback/d0de1b71-8cf5-4343-8b21-0eeb49a7a378?feedback_type=other)</sup>
GitHub link:
https://github.com/apache/superset/discussions/32149#discussioncomment-13131007
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]