Skip to content

Is there any way to convert from cmd an exr to png (or similar) using oiio? #3579

Answered by lgritz
lgander asked this question in Q&A
Discussion options

You must be logged in to vote

Just straightforwardly moving the data in the exr file to png or jpeg would look like

oiiotool in.exr -o out.png

But you mentioned something about ACES, so I'm thinking that the exr file is known to be in ACES and of course you probably want the PNG or JPEG to properly be in sRGB, right? So here is where things get complicated. If you have OpenColorIO support built in, and an OCIO config that defines ACEScg and sRGB color spaces, then you can also do the color space transformation like this:

oiiotool in.exr --colorconvert ACEScg sRGB -o out.png

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@lgander
Comment options

@lgander
Comment options

@lgritz
Comment options

@lgander
Comment options

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