Skip to content

pitvfx/OpenImageIO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OpenImageIO

intro

Prebuilt OpenImageIO for standalone command line and python tools. Not made for C++ development!

install

If you want the precomplied x64 Windows version, get the latest release. Unzip it and your done.

If you want the install bat to build and install yourself:

curl -o oiio_install_x64-win.bat https://raw.githubusercontent.com/pitvfx/OpenImageIO/master/oiio_install_x64-win.bat

Run the oiio_install_x64-win.bat and once everything is done, you should have a oiio_install_x64-win and a OpenImageIO folder. The OpenImageIO folder is the actual root directory, you can copy it to your system and work with it. The oiio_install_x64-win folder you can either keep, archive or delete it.

usage

The only really important step is that you always start with the OpenImageIO.bat from the OpenImageIO folder you've either unziped or created in the previous install section. From there on out, all environment variables are set correctly and you can use tools, like oiiotool or iconvert, from the commandline. You can also use the python3 compiler to start a python session. Just import oiio and numpy and go crazy.

test

Run oiiotool --help with root folder under C:.

image

Great! To check if OpenColorIO is working scroll down to the last lines and find the a line starting with OpenColorIO.

image

Found it? Awesome. Now let's test python! Simply start python by entering "python" into the console. Now let's check if this is actually the compiler from within our OpenImageIO directory by importing sys and checking the sys.exectuable.

image

The output should be python.exe in the python\bin folder of the root directory (C:\OpenImageIO). Next, let's try importing oiio and numpy:

image

No errrors? Brilliant! You're good to go!

Have fun.