---
title: "ImageInfo"
sidebar_label: "ImageInfo"
description: "Kotlin binding reference: ImageInfo."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[ImageInfo](index.md)

# ImageInfo

[common]\
data class [ImageInfo](index.md)(val height: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), val width: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), val channels: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html))

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](../Io/loadImage.md) returns.

## Constructors

| | |
|---|---|
| [ImageInfo](ImageInfo.md) | [common]<br>constructor(height: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), width: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), channels: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)) |

## Properties

| Name | Summary |
|---|---|
| [channels](channels.md) | [common]<br>val [channels](channels.md): [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) |
| [height](height.md) | [common]<br>val [height](height.md): [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) |
| [width](width.md) | [common]<br>val [width](width.md): [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) |