# documentAttributeImageSize

Defines the width and height of an image uploaded as document

<!-- schema-blocks -->
#### [End-to-end schema](/schema/end-to-end.md)

```
===23===
documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute;
```

#### API schema
<!-- /schema-blocks -->

```tl
documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute;
```

### Parameters

| Name | Type | Description |
| --- | :---: | --- |
| **w** | [int](/type/int.md) | Width of image |
| **h** | [int](/type/int.md) | Height of image |

### Type
[DocumentAttribute](/type/DocumentAttribute.md)