spdl.io.ImageCodec¶
- class ImageCodec[source]¶
Codec metadata
Attributes
The height of the image.
The name of the codec
The pixel format of the image.
The aspect ratio of a single pixel.
The internal unit of time used for timestamp.
The width of the image.
- property sample_aspect_ratio: tuple[int, int][source]¶
The aspect ratio of a single pixel.
The value is expressed as a fraction.
(width, height)
.