Clarify documentation of rgbgfx -C/--color-curve (#1864)

This commit is contained in:
Rangi
2025-12-04 10:49:23 -05:00
committed by GitHub
parent 0d3276975e
commit a6eb6457d8

View File

@@ -143,9 +143,17 @@ Set the base IDs for tile map output.
should be one or two numbers between 0 and 255, separated by a comma; they are for bank 0 and bank 1 respectively. should be one or two numbers between 0 and 255, separated by a comma; they are for bank 0 and bank 1 respectively.
Both default to 0. Both default to 0.
.It Fl C , Fl \-color-curve .It Fl C , Fl \-color-curve
When generating palettes, use a color curve mimicking the Game Boy Color's screen. Modifies the color palettes
The resulting colors may look closer to the input image's .Pq whether they are generated from the input image or taken from an input palette specification
.Sy on hardware and accurate emulators . with a color curve mimicking the Game Boy Color's screen.
This adjusts the
.Em absolute
RGB color values so that the
.Em perceived
colors, when displayed on Game Boy Color hardware
.Pq or an emulator with an accurate display filter ,
will look like the original colors as displayed on a backlit computer screen.
Note that GBC displays can look very different depending on the ambient light and their exact hardware model, so this color curve is only a "best effort".
.It Fl c Ar pal_spec , Fl \-colors Ar pal_spec .It Fl c Ar pal_spec , Fl \-colors Ar pal_spec
Use the specified color palettes instead of having Use the specified color palettes instead of having
.Nm .Nm