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.PixelStorage class

Pixel storage parameters

Special methods

def __eq__(self, arg0: PixelStorage, /) -> bool
Equality comparison
def __init__(self, /) -> None
Default constructor
def __ne__(self, arg0: PixelStorage, /) -> bool
Non-equality comparison

Properties

alignment: int get set
Row alignment
image_height: int get set
Image height
row_length: int get set
Row length
skip: Vector3i get set
Pixel, row and image skip