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

1 #if defined(TERMINAL_IMG_VIEWER) && defined(__has_include) && \

2 !(__has_include(<stb_image.h>))

3 #undef TERMINAL_IMG_VIEWER

4 #endif

5

6 #ifdef TERMINAL_IMG_VIEWER

7 #ifndef _IMG_H_

8 #define _IMG_H_

9

10 #include <stdint.h>

11 #include <stb_image.h>

12

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

14

15 #endif

16 #endif

17