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

Api function for saving/exporting the canvas contents #75

Open
tuner opened this issue Jan 23, 2022 · 1 comment
Open

Api function for saving/exporting the canvas contents #75

tuner opened this issue Jan 23, 2022 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers WebGL Somehow related to WebGL or GPU

Comments

@tuner
Copy link
Member

tuner commented Jan 23, 2022

Can be done with some hacks as shown in #74. I clean, user-friendly solution would be nice, however.

Also, at least in Chrome I can just right-click the plot and choose "Save as image..."

@tuner tuner added enhancement New feature or request good first issue Good for newcomers labels Jan 23, 2022
@tuner
Copy link
Member Author

tuner commented Dec 28, 2023

Here are some ideas: https://webgl2fundamentals.org/webgl/lessons/webgl-tips.html

Actually, when saving as image, the scene could be rendered into a new framebuffer, with an arbitrary (user-selectable) size and device pixel ratio.

@tuner tuner added the WebGL Somehow related to WebGL or GPU label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers WebGL Somehow related to WebGL or GPU
Projects
None yet
Development

No branches or pull requests

1 participant