From 0df07d368816ed586a6e80a3ae524f6c4bc3fd08 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Sat, 21 May 2022 19:46:23 +0200 Subject: [PATCH] Add note on supporting extra pal formats --- man/rgbgfx.1 | 5 +++++ src/gfx/reverse.cpp | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/man/rgbgfx.1 b/man/rgbgfx.1 index 25d72b07..301efbd1 100644 --- a/man/rgbgfx.1 +++ b/man/rgbgfx.1 @@ -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 , diff --git a/src/gfx/reverse.cpp b/src/gfx/reverse.cpp index 5b871c93..b92ec39f 100644 --- a/src/gfx/reverse.cpp +++ b/src/gfx/reverse.cpp @@ -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);