Welcome to Python-flavored Magnum! Please note that, while already being rather stable, this functionality is still considered experimental and some APIs might get changed without preserving full backwards compatibility.

magnum.Image3D class

Three-dimensional image

See Image2D for more information.

Special methods

def __init__(self, arg0: PixelStorage, arg1: PixelFormat, /) -> None
Construct an image placeholder
def __init__(self, arg0: PixelFormat, /) -> None
Construct an image placeholder

Properties

data: corrade.containers.MutableArrayView get
Raw image data
format: PixelFormat get
Format of pixel data
pixel_size: int get
Pixel size (in bytes)
pixels: corrade.containers.MutableStridedArrayView3D get
Pixel data
size: Vector3i get
Image size
storage: PixelStorage get
Storage of pixel data