# How to use Image as map

**URL:** https://discourse.mapeditor.org/t/how-to-use-image-as-map/834
**Category:** Questions
**Created:** [October 19, 2015, 6:39pm UTC](https://discourse.mapeditor.org/t/how-to-use-image-as-map/834 "2015-10-19T18:39:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![andreaszdw](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@andreaszdw](https://discourse.mapeditor.org/u/andreaszdw)
#### Post date: [October 19, 2015, 6:39pm UTC](https://discourse.mapeditor.org/t/how-to-use-image-as-map/834/1 "2015-10-19T18:39:48Z")

</div>

I have an image, which I want to use as an map. There are hills an water on it. How can I assign an id to each tile?

---

<div class="post-metadata">

### Author: ![Ablu](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/ablu/32/1496_2.png) [@Ablu](https://discourse.mapeditor.org/u/Ablu)
#### Post date: [October 25, 2015, 7:48am UTC](https://discourse.mapeditor.org/t/how-to-use-image-as-map/834/2 "2015-10-25T07:48:43Z")

</div>

If you have one big image how do you want to assign ids to each tile?  
An example of what you want to do would maybe help.

Generally if you have one big (non-tileable) image you can only place it either as single tile or into an image layer and draw annotations on top of it using an object layer. But not sure if that is what you want.

Regards,  
Ablu

---

<div class="post-metadata">

### Author: ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)
#### Post date: [October 25, 2015, 6:47pm UTC](https://discourse.mapeditor.org/t/how-to-use-image-as-map/834/3 "2015-10-25T18:47:50Z")

</div>

Maybe you’re looking to cut the image into tiles and automatically turn it into a map with a tileset that contains only the unique tile images? Such functionality is currently not available in Tiled.

You could do it with a Python script as demonstrated by the [Import from Image](https://github.com/bjorn/tiled/wiki/Import-from-Image) wiki article. It’s also possible to do it with other tools, for example [Shoebox](http://renderhjs.net/shoebox/extractTiles.htm).
