Hey Larry,

thanks for the info!
cheers Johannes


Am 07/11/19 um 19:35 PM schrieb Larry Gritz:
Yes, this made it into the release of 2.0.10 (and is in master, so will be in all official releases of 2.1.x).

--ociodisplay still requires two arguments, but if they are empty strings, it will be interpreted as the default display and view names. In other words,

    --ociodisplay "" "" --nextarg

NOT

    --ociodisplay --nextarg



On Nov 7, 2019, at 9:05 AM, Johannes Hezer <[email protected] <mailto:[email protected]>> wrote:

Is this still planed ?
or if ociodisplay gets no args then it fallsback to default ?

Am 28/06/19 um 19:34 PM schrieb Larry Gritz:
Ah, sorry, I think I was slow to catch on to what you wanted.

So are you just asking that oiiotool --ociodisplay understand that "default" for its arguments should not be interpreted as a literal, but rather should look up the default display and view names and use those?



On Jun 28, 2019, at 10:14 AM, Jose Enriquez <[email protected] <mailto:[email protected]>> wrote:

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] <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


_______________________________________________
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


_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to