ImageInfo
Intrinsic dimensions of an encoded image, in pixels.
Returned by readImageInfo when the supplied bytes carry a recognizable PNG or JPEG header. The library uses these to:
Compute layout sizes for
image(bytes)calls that omit one or both explicit dimensions (the missing axis is derived from the intrinsic aspect ratio).Skip a full image decode at layout time — the renderer only decodes later, on the platform side, when it actually needs to draw.