PyMaterialXRender.ImageLoader

class ImageLoader

Bases: pybind11_object

Abstract base class for file-system image loaders.

See:

https://materialx.org/docs/api/class_image_loader.html

Methods

__init__(*args, **kwargs)

loadImage(self, arg0)

saveImage(self, arg0, arg1, arg2)

supportedExtensions(self)

Properties

BMP_EXTENSION = 'bmp'
EXR_EXTENSION = 'exr'
GIF_EXTENSION = 'gif'
HDR_EXTENSION = 'hdr'
JPEG_EXTENSION = 'jpeg'
JPG_EXTENSION = 'jpg'
PIC_EXTENSION = 'pic'
PNG_EXTENSION = 'png'
PSD_EXTENSION = 'psd'
TGA_EXTENSION = 'tga'
TIFF_EXTENSION = 'tiff'
TIF_EXTENSION = 'tif'
TXT_EXTENSION = 'txt'

Methods

__init__(*args, **kwargs)
loadImage(self: ImageLoader, arg0: FilePath) Image
saveImage(self: ImageLoader, arg0: FilePath, arg1: Image, arg2: bool) bool
supportedExtensions(self: ImageLoader) set[str]