Improve some RGBGFX error messages (#1876)

* Improve some RGBGFX error messages

* Fix assertion failure on ambiguous transparent/opaque pixels
This commit is contained in:
Rangi
2025-12-19 13:00:05 -05:00
committed by GitHub
parent 9b22ff3491
commit a9ab248fed
18 changed files with 56 additions and 24 deletions

View File

@@ -313,8 +313,10 @@ This is useful for example if the input image is a sheet of some sort, and you w
The default is to process the whole image as-is.
.Pp
.Ar slice
must be two number pairs, separated by a colon.
The numbers must be separated by commas; space is allowed around all punctuation.
must be formatted as
.Ql Ar X , Ns Ar Y : Ns Ar W , Ns Ar H :
two comma-separated number pairs, separated by a colon.
Whitespace is allowed around all punctuation.
The first number pair specifies the X and Y coordinates of the top-left pixel that will be processed (anything above it or to its left will be ignored).
The second number pair specifies how many tiles to process horizontally and vertically, respectively.
.Pp