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