@aaaaaa123456789 's libplum is preferable here, as it supports reading paletted image information, unlike stb_image - this would allow us to restore compatibility with older ndstool BMP files, which assume palette color zero is transparent. It would also allow us to add support for APNG-format animated icons.
However, it does not support automatically processing GIF images' frame disposal metadata. This could be handled in ndstool itself, but I've opened an issue to see what upstream thinks first: https://github.com/aaaaaa123456789/libplum/issues/15
@aaaaaa123456789 's libplum is preferable here, as it supports reading paletted image information, unlike stb_image - this would allow us to restore compatibility with older ndstool BMP files, which assume palette color zero is transparent. It would also allow us to add support for APNG-format animated icons.
However, it does not support automatically processing GIF images' frame disposal metadata. This could be handled in ndstool itself, but I've opened an issue to see what upstream thinks first: https://github.com/aaaaaa123456789/libplum/issues/15