# StyleImageSource

> **StyleImageSource** = `HTMLImageElement` | `ImageBitmap` | `ImageData` | { `data`: `Uint8Array` | `Uint8ClampedArray`; `height`: `number`; `width`: `number`; } | [`StyleImageInterface`](<https://maplibre.org/maplibre-gl-js/docs/API/interfaces/StyleImageInterface/index.md>)

Defined in: [ui/map.ts:468](<https://github.com/maplibre/maplibre-gl-js/blob/538a7680ab16d5cf5a6564ee0ce72a11be14d142/src/ui/map.ts#L468>)

Image data accepted by [Map.addImage](<https://maplibre.org/maplibre-gl-js/docs/API/classes/Map/#addimage>).
