mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
https
@@ -8,11 +8,11 @@ This page documents OpenRCT2's built-in tool for importing and exporting of spri
|
||||
* `-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.
|
||||
|
||||

|
||||

|
||||
|
||||
* `-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.
|
||||
|
||||

|
||||

|
||||
|
||||
* **openrct2 sprite build \<sprite file> \<json path> [silent]** Creates a new sprite file and uses the supplied JSON file to add sprites. This also accepts the modes as described in **append**. Every time the game is compiled, the images in \resources\g2\ will get added in this way automatically. It should be noted that if an image already uses the OpenRCT2 colour palette, none of the modes will change the output. Therefore, if the result of dithering is not to your liking, you can add your own custom image and still use dithering with this command for the other images. To learn how to do dithering yourself, see [dithering images](../wiki/Dithering-Images). If *silent* is not used, the added sprites will be displayed.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user