# Export World as Image

**URL:** <https://discourse.mapeditor.org/t/export-world-as-image/5842>\
**Category:** Questions\
**Created:** [October 17, 2022, 11:37pm UTC](https://discourse.mapeditor.org/t/export-world-as-image/5842 "2022-10-17T23:37:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_Squittiere](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/alex_squittiere/32/3937_2.png) [@Alex\_Squittiere](https://discourse.mapeditor.org/u/Alex_Squittiere)\
**Post date:** [October 17, 2022, 11:37pm UTC](https://discourse.mapeditor.org/t/export-world-as-image/5842/1 "2022-10-17T23:37:47Z")

</div>

Hi all,

Is there any way to export a world as an image? I saw something about it on github, but couldn’t make any sense of it.

---

<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:** [October 17, 2022, 11:52pm UTC](https://discourse.mapeditor.org/t/export-world-as-image/5842/2 "2022-10-17T23:52:45Z")

</div>

Not from Tiled, but you can via the `tmxrasterizer` CLI utility that comes with Tiled. You can find it in Tiled’s install directory. It’s normally used for rendering a single Tiled map to an image, but if you pass in a `.world` file, you’ll get an image of the world.

Example CLI command to use it (after you’ve navigated to where `tmxraserizer` is located):  
`tmxrasterizer "D:\sample.world" "D:\sample.png"`

By default it’ll render all visible layers and render the world at 100% zoom. You can change this and other settings through additional `--options`, you can view all the options via `tmxrasterizer --help`. This example will render the world at 50% zoom and hide object layers:  
`tmxrasterizer "D:\sample.world" "D:\sample.png" --scale 0.5 --hide-object-layers`

---

<div class="post-metadata">

**Author:** ![Alex\_Squittiere](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/alex_squittiere/32/3937_2.png) [@Alex\_Squittiere](https://discourse.mapeditor.org/u/Alex_Squittiere)\
**Post date:** [October 18, 2022, 1:50am UTC](https://discourse.mapeditor.org/t/export-world-as-image/5842/3 "2022-10-18T01:50:52Z")

</div>

> [@eishiya](#):
>
> tmxrasterizer “D:\sample.world” “D:\sample.png”

Awesome. Thanks so much!
