aboutsummaryrefslogtreecommitdiff
path: root/docs/tools.md
diff options
context:
space:
mode:
authorPedro de Medeiros <pedro.medeiros@gmail.com>2023-05-10 06:16:01 +0000
committerJuan J. Martínez <jjm@usebox.net>2023-05-10 06:16:01 +0000
commitb602944f9a9057933abb1ff1c12b4deabc4883fb (patch)
tree8dd526b2ddd5d19082458029753cdb7c63b51181 /docs/tools.md
parentc9f28c1ce3ffda9c407003a26adf903d810b681b (diff)
downloadubox-msx-lib-b602944f9a9057933abb1ff1c12b4deabc4883fb.tar.gz
ubox-msx-lib-b602944f9a9057933abb1ff1c12b4deabc4883fb.zip
png2sprites: allow user to change transparent colour
Diffstat (limited to 'docs/tools.md')
-rw-r--r--docs/tools.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/tools.md b/docs/tools.md
index acc5e60..0899411 100644
--- a/docs/tools.md
+++ b/docs/tools.md
@@ -65,9 +65,11 @@ The result is 1 bit per pixel data without colour information. The colour will
be provided as part of the `attr` field in the `sprite_attr` struct when
calling [ubox_set_sprite_attr](ubox-lib-ref.html#ubox_set_sprite_attr).
-The tool interprets dark grey (RGB: 28, 28, 28) as transparent in the MSX
-palette, and any other colour will be used as visible monochrome data. If the
-image has more than one colour, it will be used to identify different sprites.
+The tool interprets dark grey (RGB: 28, 28, 28) as transparent in the MSX palette
+by default, but that can be changed with the `-t` or `--transparent` flag and a 6
+digit hexadecimal value as parameter. Any other colour will be used as visible
+monochrome data. If the image has more than one colour, it will be used to identify
+different sprites.
For example: