---
title: "addImage | Mobile sdk | Mobile sdk android | Android"
description: "addImage"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# addImage

fun [addImage](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.style/-m-t-style/add-image/)(identifier: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), image: [Bitmap](https://developer.android.com/reference/kotlin/android/graphics/Bitmap.html), options: [MTAddImageOptions](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.style.image/-m-t-add-image-options/)? = null)

Registers an image asset that can be referenced from the style.

#### Parameters

identifier

Unique name for the image in the style registry.

image

Bitmap containing the image data.

options

Optional image configuration such as pixel ratio or SDF toggle.
