---
name: "getTextureInfo"
type: command
status: ok
groups: ["System"]
arma3_since: "2.06"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getTextureInfo
revid: 378510
updated: 2026-05-03T17:13:34Z
---

# getTextureInfo

*Command · System · Arma 3 v2.06*

## Description

Return texture information - resolution in pixels (mipmap level 0) and average colour. Multiply the pixel values by [pixelW](../commands/pixelW.md) and [pixelH](../commands/pixelH.md) to get screen coordinates.

## Syntax

### Syntax 1

```sqf
getTextureInfo texture
```

**Parameters:**

- `texture`: [String](../topics/String.md) - texture path (.paa, .jpg, .ogv)

**Returns:** [Array](../topics/Array.md) with [width, height, rgbaAverageColour]
- width: [Number](../topics/Number.md)
- height: [Number](../topics/Number.md)
- Arma 3 v2.08 rgbaAverageColour: [Color (RGBA)](../topics/Color.md)

### Syntax 2

*since arma3 2.22*

```sqf
getTextureInfo [texture, sizeH]
```

**Parameters:**

- `texture`: [String](../topics/String.md) - texture path (.paa, .jpg, .ogv)
- `sizeH`: [Number](../topics/Number.md) - texture height in screen size

**Returns:** [Array](../topics/Array.md) with [width, height]
- width: [Number](../topics/Number.md) - width of the texture in screen units
- height: [Number](../topics/Number.md) - height of the texture in screen units

## Examples

### Example 1

```sqf
getTextureInfo "a3\characters_f\blufor\data\clothing1_co.paa"; // [2048, 2048, [0.458824, 0.427451, 0.34902, 1]]
```

### Example 2

```sqf
getTextureInfo ["\A3\UI_f\Data\Logos\arma3_shadow_ca.paa", 0.1]; // [0.150111, 0.1]
```

## See also

[pixelW](../commands/pixelW.md) · [pixelH](../commands/pixelH.md) · [getModelInfo](../commands/getModelInfo.md) · [supportInfo](../commands/supportInfo.md) · [getObjectType](../commands/getObjectType.md) · [getObjectTextures](../commands/getObjectTextures.md)

<sub>Source: [BI Community Wiki — getTextureInfo](https://community.bistudio.com/wiki/getTextureInfo) (revision 378510).</sub>
