Image
Properties of an image file.
A struct with 8 fields:
| field | type | optional | description |
|---|---|---|---|
| alpha | Boolean | false | Whether the image has an alpha channel. |
| bit_depth | UnsignedInteger | false | Bits per color channel. |
| chroma_subsampling | ChromaSubsampling | true | Chroma subsampling, for formats that support it. |
| color_type | ColorType | true | Color model of the image. |
| dimensions | Dimensions | false | Dimensions in pixels. |
| format | ImageFormat | true | Image file format. |
| orientation | Orientation | false | Orientation to apply when displaying. |
| path | RelativePath | false | Path to the image file. |