oiio_loader - Man Page

manual page for oiio_loader 1.39.5

Description

/builddir/build/BUILD/materialx-1.39.5-build/BUILDROOT/usr/bin/oiio_loader: line 24: Sample MaterialX ImageLoader implementation using OpenImageIO package.

This module provides a MaterialX-compatible ImageLoader implementation using OpenImageIO (OIIO). The test will test loading an image, save it out, and optionally previewing it.

Steps

1. Create an OIIOLoader which is derived from the ImageLoader interface class. 2. Create a new ImageHandler and register the loader with it. 3. Request to acquire an image using the ImageHandler. An EXR image is requested. 4. OIIOLoader will return supported extensions and match the requested image format. 5. As such the OIIOLoader will be requested to load in the EXR image, convert the data and return a MaterialX Image. 6. Try to acquire the image again. This should returnt the cached MaterialX Image. 7. Save the image back to disk in the original format.

The image can optionally be previewed after load before save.

- Python Dependencies

- OpenImageIO (version 3.0.6.1)

- API Docs can be found here: https://openimageio.readthedocs.io/en/v3.0.6.1/)

- numpy : For numerical operations on image data - matplotlib : If image preview is desired.

: File name too long /builddir/build/BUILD/materialx-1.39.5-build/BUILDROOT/usr/bin/oiio_loader: line 25: import: command not found /builddir/build/BUILD/materialx-1.39.5-build/BUILDROOT/usr/bin/oiio_loader: line 26: import: command not found /builddir/build/BUILD/materialx-1.39.5-build/BUILDROOT/usr/bin/oiio_loader: line 27: import: command not found /builddir/build/BUILD/materialx-1.39.5-build/BUILDROOT/usr/bin/oiio_loader: line 29: import: command not found /builddir/build/BUILD/materialx-1.39.5-build/BUILDROOT/usr/bin/oiio_loader: line 30: syntax error near unexpected token `level=logging.INFO' /builddir/build/BUILD/materialx-1.39.5-build/BUILDROOT/usr/bin/oiio_loader: line 30: `logging.basicConfig(level=logging.INFO)'

Info

June 2026 oiio_loader 1.39.5