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 .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 ,

View File

@@ -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);