💾 Archived View for gemini.rmf-dev.com › repo › Vaati › Vgmi › files › 29b0f66e806ad0892be03fe9a1b50… captured on 2023-12-28 at 15:43:19. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
0 /*
1 * ISC License
2 * Copyright (c) 2023 RMF <rawmonk@firemail.cc>
3 */
4 #if __has_include(<stb_image.h>)
5 #define ENABLE_IMAGE
6 #endif
7
8 #ifdef ENABLE_IMAGE
9 extern int image_process;
10 int image_init();
11 int image_display(unsigned char* data, int w, int h, int offsety);
12 void image_memory_set(void *memory, size_t len);
13 void *image_load(void *data, int len, int *x, int *y);
14 void *image_parse(void *data, int len, int *x, int *y);
15 void image_parser(int in, int out);
16 #endif
17