vpi.Image
- class vpi.Image(size: Tuple[int, int], format: vpi.Format) vpi.Image
Create an empty image instance.
- Parameters
size (Tuple[int, int]) – The size of the image.
format (vpi.Format) – The format of the image.
- Returns
The image.
- Return type
Hint
The contents of an image instance can be accessed via
container methods.Attributes
formatFormat of the image (see
image formats).heightHeight of the image.
idIndex (sequential number) of the instance.
sizeSize of the image as a tuple of (width, height).
widthWidth of the image.