The OIIO libraries have both C++ and Python bindings. You don't say which version of OIIO you are using, but it does come with some documentation (a PDF book of nearly 400 pages), which you can also find here (for the current release):
https://github.com/OpenImageIO/oiio/blob/release/src/doc/openimageio.pdf <https://github.com/OpenImageIO/oiio/blob/release/src/doc/openimageio.pdf> There is an entire chapter on the Python bindings. On p. 255 is even an example showing how to use the resize() function from python. If you just need to script this operation and don't need it in the middle of a Python program, it's also really easy to do this from the command line with the 'oiiotool' utility and there are several examples of how to resize images on pp. 281-282. > On May 14, 2018, at 10:20 PM, Matthew.Alexander - The Empire Post > <[email protected]> wrote: > > Hi, > > My name is Matthew and i've been looking into using OIIO for half sizing EXR > sequences, however I cannot seem to find much documentation on how to do > that. > I use python quite often but it appears OIIO is in C++, which I can certainly > learn, however there does not appear to be much documentation on this. > > Regards, > Matthew. > > Matthew Alexander: IT & IO > The Empire Post > > 36 Agnes St, Fortitude Valley 4006, Qld > Em: [email protected] > <mailto:[email protected]> > Mb: 0499 004 747 <http://0499004747/> > Ph: 07 3180 1902 <tel:07%203180%201902> > > This email and any attachments are confidential. If received in error, please > inform us by return email and then delete both messages. You should not read, > copy, use or disclose them without authorisation. We do not accept liability > in connection with computer virus, data corruption, delay, interruption, > unauthorised access or unauthorised amendment. The views or opinions > expressed are the author's own and may not reflect the views or opinions of > The Empire Post Pty Ltd. > > > _______________________________________________ > Oiio-dev mailing list > [email protected] <mailto:[email protected]> > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org > <http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org> -- Larry Gritz [email protected]
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
