mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 01:06:08 +03:00
14 lines
410 B
C
14 lines
410 B
C
// For STBI we only need PNG because the only use case we have right now
|
|
// is the Kitty Graphics protocol which only supports PNG as a format
|
|
// besides raw RGB/RGBA buffers.
|
|
#define STBI_ONLY_PNG
|
|
|
|
// We don't want to support super large images.
|
|
#define STBI_MAX_DIMENSIONS 131072
|
|
|
|
#define STB_IMAGE_IMPLEMENTATION
|
|
#include <stb_image.h>
|
|
|
|
#define STB_IMAGE_RESIZE_IMPLEMENTATION
|
|
#include <stb_image_resize.h>
|