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

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

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

# GeneratedImage

[common]\
data class [GeneratedImage](index.md)(val width: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), val height: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), val rgba8888: [ByteArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte-array/index.html))

One generated picture: [width](width.md) by [height](height.md) pixels, four bytes each in the order red, green, blue, alpha (the alpha opaque).

## Constructors

| | |
|---|---|
| [GeneratedImage](GeneratedImage.md) | [common]<br>constructor(width: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), height: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), rgba8888: [ByteArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte-array/index.html)) |

## Properties

| Name | Summary |
|---|---|
| [height](height.md) | [common]<br>val [height](height.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) |
| [rgba8888](rgba8888.md) | [common]<br>val [rgba8888](rgba8888.md): [ByteArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte-array/index.html) |
| [width](width.md) | [common]<br>val [width](width.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) |