How to use Image as map

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?

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.


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 wiki article. It’s also possible to do it with other tools, for example Shoebox.