Hi Larry,
Thank you for your reply,
I used the python API to extract the view (film) and the display (sRGB).
Then I use subprocess check_call to call the following command:
|oiiotool -i input_image.exr --ociodisplay sRGB film -o output_image.jpg|
|However, I was wondering if there is a way to use default values with
the flag --ociodisplay, so I don't have to set them in the command, I
was thinking something similar to this:|
||oiiotool -i input_image.exr --ociodisplay * * -o output_image.jpg or ||
||||oiiotool -i input_image.exr --ociodisplay "default" "default" -o
output_image.jpg||||
|So it automatically sets the first or default values in the views or
displays found in the ocio configuration file.|
|Kinds regards,|
|Jose
|
On 6/26/2019 9:23 PM, Larry Gritz wrote:
Can you clarify what you're looking for?
For example, can you show us the exact python call you are using (with
arguments), and then I can tell you the equivalent oiiotool command?
On Jun 26, 2019, at 12:02 PM, Jose Enriquez
<[email protected] <mailto:[email protected]>> wrote:
Hello everyone,
I was wondering if there was a way to use default values in the
oiiotool --ociodisplay command?, so it falls automatically in the
default values or the first values. Currently, I am using the python
API to get this information but maybe I could just skip this.
Thank you,
--
Jose Alejandro Enriquez|Comp TD
PIXOMONDO
629 Eastern Avenue, Building E01
Toronto, ON, M4M 1E3-Canada
[email protected]
<mailto:[email protected]>-www.pixomondo.com
<http://www.pixomondo.com/>
_______________________________________________
Oiio-dev mailing list
[email protected] <mailto:[email protected]>
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
--
Larry Gritz
[email protected] <mailto:[email protected]>
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
--
Jose Alejandro Enriquez | Comp TD
PIXOMONDO
629 Eastern Avenue, Building E01
Toronto, ON, M4M 1E3 - Canada
[email protected] <mailto:[email protected]> -
www.pixomondo.com <http://www.pixomondo.com>
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org