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.
class
ImageData3DThree-dimensional image data
See ImageData2D for more information.
Properties
- compressed_format: CompressedPixelFormat get
- Format of compressed pixel data
- data: corrade.containers.ArrayView get
- Raw image data
- data_flags: DataFlags get
- Data flags
- format: PixelFormat get
- Format of pixel data
- is_compressed: bool get
- Whether the image is compressed
- mutable_data: corrade.containers.MutableArrayView get
- Mutable raw image data
- mutable_pixels: corrade.containers.MutableStridedArrayView3D get
- Mutable pixel data
- owner: object get
- Memory owner
- pixel_size: int get
- Pixel size (in bytes)
- pixels: corrade.containers.StridedArrayView3D get
- Pixel data
- size: Vector3i get
- Image size
- storage: PixelStorage get
- Storage of pixel data
Property documentation
magnum. trade. ImageData3D. compressed_format: CompressedPixelFormat get
Format of compressed pixel data
Exceptions | |
---|---|
AttributeError | If is_compressed is False |
magnum. trade. ImageData3D. format: PixelFormat get
Format of pixel data
Exceptions | |
---|---|
AttributeError | If is_compressed is True |
magnum. trade. ImageData3D. mutable_data: corrade.containers.MutableArrayView get
Mutable raw image data
Exceptions | |
---|---|
AttributeError | If data_flags doesn’t contain DataFlags.MUTABLE |
magnum. trade. ImageData3D. mutable_pixels: corrade.containers.MutableStridedArrayView3D get
Mutable pixel data
Exceptions | |
---|---|
AttributeError | If is_compressed is True |
AttributeError | If data_flags doesn’t contain DataFlags.MUTABLE |
magnum. trade. ImageData3D. pixel_size: int get
Pixel size (in bytes)
Exceptions | |
---|---|
AttributeError | If is_compressed is True |
magnum. trade. ImageData3D. pixels: corrade.containers.StridedArrayView3D get
Pixel data
Exceptions | |
---|---|
AttributeError | If is_compressed is True |
magnum. trade. ImageData3D. storage: PixelStorage get
Storage of pixel data
Exceptions | |
---|---|
AttributeError | If is_compressed is True |