0 /* See LICENSE file for copyright and license details. */

1 #if defined(TERMINAL_IMG_VIEWER) && defined(__has_include) && !(__has_include(<stb_image.h>))

2 #undef TERMINAL_IMG_VIEWER

3 #endif

4

5 #ifdef TERMINAL_IMG_VIEWER

6 #ifndef _IMG_H_

7 #define _IMG_H_

8

9 #include <stdint.h>

10 #include <stb_image.h>

11

12 int img_display(uint8_t* data, int w, int h, int offsety);

13

14 #endif

15 #endif

16