Skip to content

Render screenshots in different formats #301

Answered by Tom94
NEONFIVE asked this question in Q&A
Discussion options

You must be logged in to vote

You can use the python bindings for this. testbed.render return a numpy array in linear colors, so you can write an exr file as easily as:

common.write_image("screenshot.exr", testbed.render(1920, 1080, spp=1, linear=True))

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@NEONFIVE
Comment options

@Tom94
Comment options

Tom94 Mar 2, 2022
Maintainer

@NEONFIVE
Comment options

@felixgeen
Comment options

@felixgeen
Comment options

Answer selected by NEONFIVE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants