OptionalcolorOptionalextrusionThe number of pixels to extrude the tiles. Defaults to 1.
OptionalmarginThe number of pixels between the tiles and the edge of the tileset image. Defaults to 0.
OptionalspacingThe number of pixels between neighboring tiles. Defaults to 0.
The height of a tile in pixels.
The width of a tile in pixels.
The color to use for the background color, which only matters if there is margin or spacing. This is passed directly to jimp which takes RGBA hex or a CSS color string, e.g. '#FF0000'. This defaults to transparent white, 0xffffff00.