Skip to main content

//clika-runtime/io.clika.runtime/ImageInfo

ImageInfo

[common]
data class ImageInfo(val height: Long, val width: Long, val channels: Long)

An image's pixel geometry as displayed (channels-last), read from its header: an EXIF orientation tag is applied, so a rotated photo reports the swapped height and width, the same [H, W, C]Io.loadImage returns.

Constructors​

ImageInfo[common]
constructor(height: Long, width: Long, channels: Long)

Properties​

NameSummary
channels[common]
val channels: Long
height[common]
val height: Long
width[common]
val width: Long