
## ImageData.imageBytes property

Gets or sets the raw bytes of the image stored in the shape.


```js
get imageBytes(): number[]
```

### Remarks

Setting the value to ``null`` or an empty array will remove the image from the shape.

Returns``null`` if the image is not stored in the document (e.g the image is probably linked in this case).




### See Also

* module [Aspose.Words.Drawing](../../)
* class [ImageData](../)
* method [ImageData.setImage()](../setImage/#string)
* method [ImageData.toByteArray()](../toByteArray/#default)
* method [ImageData.save()](../save/#string)

