Badge dump overhaul

This commit is contained in:
2024-06-12 18:01:25 -04:00
parent 4669f13d05
commit c3e09adcb2
10 changed files with 262 additions and 19 deletions

View File

@@ -6,5 +6,6 @@
size_t bin_to_abgr(char ** bufp, size_t size);
size_t png_to_abgr(char ** bufp, size_t size, u32 *height);
int pngToRGB565(char *png_buf, u64 fileSize, u16 *rgb_buf_64x64, u8 *alpha_buf_64x64, u16 *rgb_buf_32x32, u8 *alpha_buf_32x32, bool set_icon);
int rgb565ToPngFile(char *filename, u16 *rgb_buf, u8 *alpha_buf, int width, int height);
#endif