shithub: rgbds

Download patch

ref: 0df07d368816ed586a6e80a3ae524f6c4bc3fd08
parent: 3f70372308167399b4e6fd6bfef9d93bc93221fb
author: ISSOtm <[email protected]>
date: Sat May 21 15:46:23 EDT 2022

Add note on supporting extra pal formats

--- a/man/rgbgfx.1
+++ b/man/rgbgfx.1
@@ -380,6 +380,10 @@
 .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 @@
 .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 ,
--- a/src/gfx/reverse.cpp
+++ b/src/gfx/reverse.cpp
@@ -209,7 +209,6 @@
 	}
 	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);