# Different sizes in collection of images

**URL:** <https://discourse.mapeditor.org/t/different-sizes-in-collection-of-images/6452>\
**Category:** Uncategorized\
**Created:** [December 9, 2023, 10:38pm UTC](https://discourse.mapeditor.org/t/different-sizes-in-collection-of-images/6452 "2023-12-09T22:38:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rudi\_Hammad](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/rudi_hammad/32/3984_2.png) [@Rudi\_Hammad](https://discourse.mapeditor.org/u/Rudi_Hammad)\
**Post date:** [December 9, 2023, 10:38pm UTC](https://discourse.mapeditor.org/t/different-sizes-in-collection-of-images/6452/1 "2023-12-09T22:38:07Z")

</div>

Hi,  
I’ve read different post saying that when you create a collection of images, you can add any image size. The thing is that when I do this Tiled creates a uniform image size to select.  
 ![question](https://canada1.discourse-cdn.com/flex035/uploads/mapeditor/original/2X/a/ae2f6291894a9cdeacb812ffd72fa6914a6aa5e7.jpeg)  
As we can see in the image, a lot of empty tiles are created when I added the second image, so now both have the same size, which is not what I want. I was expecting this  
 ![Capture](https://canada1.discourse-cdn.com/flex035/uploads/mapeditor/original/2X/1/1e5d6c41ba3578d74ee879e4bd0424fa6fd9d2af.jpeg)

I am I missing something or is this how it is suppose to work?

thanks

---

<div class="post-metadata">

**Author:** ![eishiya](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/eishiya/32/2534_2.png) [@eishiya](https://discourse.mapeditor.org/u/eishiya)\
**Post date:** [December 9, 2023, 10:41pm UTC](https://discourse.mapeditor.org/t/different-sizes-in-collection-of-images/6452/2 "2023-12-09T22:41:16Z")

</div>

If you use the tiles in a map, you’ll see that they work as you expect them to work. When displayed in a tileset, they’re shown in a grid view, which is why they’re shown with some empty space around them.

---

<div class="post-metadata">

**Author:** ![Rudi\_Hammad](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/rudi_hammad/32/3984_2.png) [@Rudi\_Hammad](https://discourse.mapeditor.org/u/Rudi_Hammad)\
**Post date:** [December 9, 2023, 11:00pm UTC](https://discourse.mapeditor.org/t/different-sizes-in-collection-of-images/6452/3 "2023-12-09T23:00:55Z")

</div>

Ok, cool, I thought I was doing it wrong.  
By the way, I don’t really understand what embed in map does. In the documentation it says  
_We leave the Embed in map option disabled. This is recommended, since it will allow the tileset to be used by multiple maps without setting up its parameters again_

But still, have no idea what it means.

---

<div class="post-metadata">

**Author:** ![eishiya](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/eishiya/32/2534_2.png) [@eishiya](https://discourse.mapeditor.org/u/eishiya)\
**Post date:** [December 9, 2023, 11:04pm UTC](https://discourse.mapeditor.org/t/different-sizes-in-collection-of-images/6452/4 "2023-12-09T23:04:33Z")

</div>

As the name implies, it puts the tileset data directly into the map file, instead of having it in a separate file.

---

<div class="post-metadata">

**Author:** ![Rudi\_Hammad](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/rudi_hammad/32/3984_2.png) [@Rudi\_Hammad](https://discourse.mapeditor.org/u/Rudi_Hammad)\
**Post date:** [December 9, 2023, 11:59pm UTC](https://discourse.mapeditor.org/t/different-sizes-in-collection-of-images/6452/5 "2023-12-09T23:59:03Z")

</div>

Of course, just saw the .tmx data with and without embedding.  
Thanks for your help
