8000 --use-gl=angle is required to setup Chrome() if in headless mode · Issue #145 · CARTAvis/carta-python · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

--use-gl=angle is required to setup Chrome() if in headless mode #145

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

Open
kswang1029 opened this issue Dec 26, 2023 · 0 comments
Open

--use-gl=angle is required to setup Chrome() if in headless mode #145

kswang1029 opened this issue Dec 26, 2023 · 0 comments
Labels
question Further information is requested

Comments

@kswang1029
Copy link
Contributor

The issue is spotted on macOS (m2 pro chip) environment. If we do

session = Session.create(Chrome(headless=True, options=['--use-gl=angle', '--force-color-profile=srgb']), url_without_token, debug_no_auth=True)

without the option --use-gl=angle, the saved PNG image plot will lose the raster image, like the following example.

create_session

Other OSs/hardwares need to be investigated.

@kswang1029 kswang1029 added the question Further information is requested label Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant
0