Python API documentation?


Richard Shaw <hobbe...@...>
 

On Tue, Jan 17, 2012 at 12:39 PM, Jeremy Selan <jeremy...@...> wrote:
I agree that the python examples / docs are hard to find.

Added so we dont forget:
https://github.com/imageworks/OpenColorIO/issues/212
Works for me!

Thanks,
Richard


Jeremy Selan <jeremy...@...>
 

I agree that the python examples / docs are hard to find.

Added so we dont forget:
https://github.com/imageworks/OpenColorIO/issues/212

-- Jeremy

On Sat, Jan 14, 2012 at 7:45 AM, Richard Shaw <hobbe...@...> wrote:
On Sat, Jan 14, 2012 at 9:31 AM, dbr/Ben <dbr....@...> wrote:
> This page has comparative C++ and Python examples:
>
> http://opencolorio.org/developers/usage_examples.html

Whoops! Nothing screamed "python" at the top so I didn't scroll down.
There it is! :)

Thanks,
Richard


Richard Shaw <hobbe...@...>
 

On Sat, Jan 14, 2012 at 9:31 AM, dbr/Ben <dbr....@...> wrote:
This page has comparative C++ and Python examples:

http://opencolorio.org/developers/usage_examples.html
Whoops! Nothing screamed "python" at the top so I didn't scroll down.
There it is! :)

Thanks,
Richard


dbr/Ben <dbr....@...>
 

On 15/01/2012, at 1:53 AM, Richard Shaw wrote:

Looking at:
https://github.com/imageworks/OpenColorIO/pull/192#issuecomment-3490984

got me thinking so I tried importing PyOpenColorIO in python and it
worked fine for me. After that I decided to look at the provided
documentation and couldn't find anything talking about the Python API.

I'm not a programmer but I assume it pretty much mirrors the C++ API.
If that's the case it might be nice to add a small python section in
the development docs and instead of doing a python version of the C++
API, perhaps describe how to interpret the C++ API and convert to the
python equivalent.

Also an example app would be nice!

Thanks,
Richard


Richard Shaw <hobbe...@...>
 

Looking at:
https://github.com/imageworks/OpenColorIO/pull/192#issuecomment-3490984

got me thinking so I tried importing PyOpenColorIO in python and it
worked fine for me. After that I decided to look at the provided
documentation and couldn't find anything talking about the Python API.

I'm not a programmer but I assume it pretty much mirrors the C++ API.
If that's the case it might be nice to add a small python section in
the development docs and instead of doing a python version of the C++
API, perhaps describe how to interpret the C++ API and convert to the
python equivalent.

Also an example app would be nice!

Thanks,
Richard