Add note on supporting extra pal formats

This commit is contained in:
ISSOtm
2022-05-21 19:46:23 +02:00
committed by Eldred Habert
parent 3f70372308
commit 0df07d3688
2 changed files with 5 additions and 1 deletions

View File

@@ -380,6 +380,10 @@ The following formats are supported:
.It Sy psp
.Lk https://www.selapa.net/swatches/colors/fileformats.php#psp_pal Paint Shop Pro palette .
.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
.Nm
must generate palettes from the colors in the input image, unless
@@ -581,6 +585,7 @@ TODO: more examples.
.Sh BUGS
Please report bugs and mistakes in this man page on
.Lk https://github.com/gbdev/rgbds/issues GitHub .
Bug reports and feature requests about RGBDS are also welcome!
.Sh SEE ALSO
.Xr rgbds 7 ,
.Xr rgbasm 1 ,

View File

@@ -209,7 +209,6 @@ void reverse() {
}
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_INTERLACE_NONE, PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT);
png_write_info(png, pngInfo);