ImageData
Stores the image data.
class ImageData
Attributes
Attribute | Type |
---|---|
bytes |
bytearray |
width |
int |
height |
int |
stride |
int |
image_pixel_format |
ImagePixelFormat |
bytes
The image data content in a byte array.
ImageData.bytes
width
The width of the image in pixels.
ImageData.width
height
The height of the image in pixels.
ImageData.height
stride
The stride (or scan width) of the image.
ImageData.stride
image_pixel_format
The image pixel format used in the image byte array.
ImageData.image_pixel_format