aboutsummaryrefslogtreecommitdiff
path: root/jxl.h
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2024-06-04 21:06:58 -0600
committerDaniel Eklöf <daniel@ekloef.se>2024-06-12 20:13:43 +0200
commit2ccd1b1099eb32f57a6fb3b91bfc2f8ed3fc1bca (patch)
treea6992b101c1ca950d48aa66a50b31035be558c16 /jxl.h
parent573c014568a7dd4facbca9cc6b9032996c18338e (diff)
downloadwbg-2ccd1b1099eb32f57a6fb3b91bfc2f8ed3fc1bca.tar.gz
jxl: add initial support for JPEG XL using libjxl
Diffstat (limited to 'jxl.h')
-rw-r--r--jxl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/jxl.h b/jxl.h
new file mode 100644
index 0000000..af9f1fd
--- /dev/null
+++ b/jxl.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#include <stdio.h>
+#include <pixman.h>
+
+pixman_image_t *jxl_load(FILE *fp, const char *path);