Go Back

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(void);

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