tmxrasterizer man page

tmxrasterizer — renders a tile map to an image

Synopsis

tmxrasterizer [Options] [INPUT FILE] [OUTPUT FILE]

Description

This application can be used to render maps created by the Tiled Map Editor to an image. This is very helpful for creating small-scale previews, such as mini-maps.

Options

-h --help

Displays the help

-v --version

Displays the version

-s --scale SIZE

The scale of the output image

-t --tilesize SIZE

The requested size in pixels at which a tile is rendered. Overrides the --scale option.

--size SIZE

The output image fits within a SIZE x SIZE square. Overrides the --scale and --tilesize options.

-a --anti-aliasing

Smooth the output image using anti-aliasing

--ignore-visibility

Ignore all layer visibility flags in the map file and render all layers in the output (default is to omit invisible layers).

--hide-layer

Specifies a layer to omit from the output image. Can be repeated to hide multiple layers. The layername is case insensitive.

Example:

tmxrasterizer --hide-layer collision --hide-layer otherlayer [...]

Author

Vincent Petithory <vincent.petithory@gmail.com>

See Also

tiled(1), tmxviewer(1), http://www.mapeditor.org/

Referenced By

tiled(1), tmxviewer(1).

September 2016