1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Update to new flags

Thomas den Hollander
2018-03-18 11:54:11 +01:00
parent 1de3942378
commit 22122aa143

@@ -3,12 +3,12 @@ This page documents OpenRCT2's built-in tool for importing and exporting of spri
* **openrct2 sprite create `sprite file name`** Creates the file that contains the sprites. For the newly added graphics the file g2.dat is used.
* **openrct2 sprite append `sprite file name` `image to add`** Adds the specified image to the end of the sprite file. Since OpenRCT2 has a limited colour palette, the image has to be converted. Currently, there are three modes of conversion, which can be specified by the option `-m`:
* `-m 0`: default. This mode behaves the same as the importer did before. Any pixels not present in the colour scheme will be ignored.
* `-m 1`: closest. This mode will change all pixels to the closest pixel in the palette. Already converted images will be unaffected.
* `-m default`: This mode behaves the same as the importer did before. Any pixels not present in the colour scheme will be ignored.
* `-m closest`: This mode will change all pixels to the closest pixel in the palette. Already converted images will be unaffected.
![Converted using closest mode](http://i.imgur.com/tG3YFON.png)
* `-m 2`: dithering. This mode will use Floyd-Steinberg dithering to make the image look close to the original while converting to the colour palette. Already converted images will be unaffected.
* `-m dithering`: This mode will use Floyd-Steinberg dithering to make the image look close to the original while converting to the colour palette. Already converted images will be unaffected.
![Converted using dithering mode](http://i.imgur.com/EB0DmuI.png)