mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 02:32:06 +00:00
Add note on supporting extra pal formats
This commit is contained in:
@@ -380,6 +380,10 @@ The following formats are supported:
|
|||||||
.It Sy psp
|
.It Sy psp
|
||||||
.Lk https://www.selapa.net/swatches/colors/fileformats.php#psp_pal Paint Shop Pro palette .
|
.Lk https://www.selapa.net/swatches/colors/fileformats.php#psp_pal Paint Shop Pro palette .
|
||||||
.El
|
.El
|
||||||
|
If you wish for another format to be supported, please open an issue (see
|
||||||
|
.Sx BUGS
|
||||||
|
.Pp
|
||||||
|
below) or contact us, and supply a few sample files.
|
||||||
.Sh PALETTE GENERATION
|
.Sh PALETTE GENERATION
|
||||||
.Nm
|
.Nm
|
||||||
must generate palettes from the colors in the input image, unless
|
must generate palettes from the colors in the input image, unless
|
||||||
@@ -581,6 +585,7 @@ TODO: more examples.
|
|||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
Please report bugs and mistakes in this man page on
|
Please report bugs and mistakes in this man page on
|
||||||
.Lk https://github.com/gbdev/rgbds/issues GitHub .
|
.Lk https://github.com/gbdev/rgbds/issues GitHub .
|
||||||
|
Bug reports and feature requests about RGBDS are also welcome!
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr rgbds 7 ,
|
.Xr rgbds 7 ,
|
||||||
.Xr rgbasm 1 ,
|
.Xr rgbasm 1 ,
|
||||||
|
|||||||
@@ -209,7 +209,6 @@ void reverse() {
|
|||||||
}
|
}
|
||||||
png_set_write_fn(png, &pngFile, writePng, flushPng);
|
png_set_write_fn(png, &pngFile, writePng, flushPng);
|
||||||
|
|
||||||
// TODO: if `-f` is passed, write the image indexed instead of RGB
|
|
||||||
png_set_IHDR(png, pngInfo, options.reversedWidth * 8, height * 8, 8, PNG_COLOR_TYPE_RGB_ALPHA,
|
png_set_IHDR(png, pngInfo, options.reversedWidth * 8, height * 8, 8, PNG_COLOR_TYPE_RGB_ALPHA,
|
||||||
PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT);
|
PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT);
|
||||||
png_write_info(png, pngInfo);
|
png_write_info(png, pngInfo);
|
||||||
|
|||||||
Reference in New Issue
Block a user