# ee.Image.matrixTranspose

Transposes two dimensions of each array pixel.

<br />

| Usage | Returns |
|---|---|
| `Image.matrixTranspose(*axis1*, *axis2*)` | Image |

| Argument | Type | Details |
|---|---|---|
| this: `input` | Image | Input image. |
| `axis1` | Integer, default: 0 | First axis to swap. |
| `axis2` | Integer, default: 1 | Second axis to swap. |