Screen export to Image #238
Unanswered
claudiubrb
asked this question in
General
Replies: 1 comment
-
Hi @claudiubrb The factor is about the image resolution (If you export via 3d GUI, you will see the possible factors). ![]() there is also another function for creating snapshots. import base64
import utility_controller
import os
snapshot = utility_controller.create_snapshot()
snapshot_bytes = base64.b64decode(snapshot)
save_path = os.path.join(
'C:\\', 'Users', 'XYZ', 'Downloads', 'snapshot.png')
with open(save_path, 'wb') as f:
f.write(snapshot_bytes) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Is it possible to have an explanation for the factor when exporting the screen to image to understand what it represents ?
Or an example now how to do use the method within a script ?
Thank you,
Beta Was this translation helpful? Give feedback.
All reactions