ImageInfo
An image's pixel geometry as displayed, read from its header: height and width in pixels and channels (1 gray, 3 RGB, 4 RGBA). An EXIF orientation is applied, so a rotated photo reports the swapped height and width, the same [H, W, C] load_image returns.
channels (property)
The color channels: 1 gray, 3 RGB, 4 RGBA.
height (property)
The pixel rows.
width (property)
The pixel columns.
__init__
__init__(self, /, *args, **kwargs)
Initialize self. See help(type(self)) for accurate signature.