summaryrefslogtreecommitdiff
path: root/libpanto/src/cdeps/image_impl.c
diff options
context:
space:
mode:
authort <t@tjp.lol>2026-07-07 11:29:23 -0600
committert <t@tjp.lol>2026-07-07 12:15:28 -0600
commit621d7fee0ace729f8d44126032d2c6e13f72ee7f (patch)
treea2938b0a9e5c0930e8644721abbe94875df9ff08 /libpanto/src/cdeps/image_impl.c
parent0fa6d4209ff9b4a95e7d1955887aa4c73ee3423c (diff)
Move libpanto projects to libpantograph dependencyHEADmain
Remove the in-repo libpanto sources and binding projects from pantograph. Consume libpantograph through the Zig package URL at code.tjp.lol/libpantograph.git, including the Lua module artifact used by CLI extensions.
Diffstat (limited to 'libpanto/src/cdeps/image_impl.c')
-rw-r--r--libpanto/src/cdeps/image_impl.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/libpanto/src/cdeps/image_impl.c b/libpanto/src/cdeps/image_impl.c
deleted file mode 100644
index 6266630..0000000
--- a/libpanto/src/cdeps/image_impl.c
+++ /dev/null
@@ -1,25 +0,0 @@
-// Single translation unit that compiles the implementations of the
-// vendored single-header image libraries. Keeping the implementation
-// macros confined to one .c file avoids duplicate-symbol errors.
-
-#define STB_IMAGE_IMPLEMENTATION
-// We only decode raster formats we detect via magic bytes. Disable the
-// formats we never feed in to shrink code size and attack surface.
-#define STBI_NO_HDR
-#define STBI_NO_LINEAR
-#define STBI_NO_PSD
-#define STBI_NO_PIC
-#define STBI_NO_PNM
-#define STBI_NO_TGA
-#include "stb_image.h"
-
-#define STB_IMAGE_RESIZE_IMPLEMENTATION
-#include "stb_image_resize2.h"
-
-#define STB_IMAGE_WRITE_IMPLEMENTATION
-#include "stb_image_write.h"
-
-// We feed jebp bytes from memory only; no file I/O needed.
-#define JEBP_NO_STDIO
-#define JEBP_IMPLEMENTATION
-#include "jebp.h"