blocksds / sdk

Main BlocksDS SDK repository
https://blocksds.github.io/docs/
139 stars 7 forks source link

Move ndstool from stb_image to libplum #111

Open asiekierka opened 7 months ago

asiekierka commented 7 months ago

@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

AntonioND commented 1 month ago

If we do this, we need to keep this issue in mind: https://github.com/blocksds/grit/pull/3