aboutsummaryrefslogtreecommitdiff
path: root/src/dwebp.h
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-11-24 18:15:23 +0100
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-11-24 19:08:41 +0100
commitb9e801cb940b45cfd9a4cf95bf5af68b084156b4 (patch)
tree655499d75bf733a773483caf22068e43c598defd /src/dwebp.h
parent53fb37ae030c294e29e820cc4c34bca4d0ac2e27 (diff)
Add WebP image support
See: https://www.toomanyatoms.com/software/mobilized_dillo.html Authored-By: dogma
Diffstat (limited to 'src/dwebp.h')
-rw-r--r--src/dwebp.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/dwebp.h b/src/dwebp.h
new file mode 100644
index 00000000..930380b0
--- /dev/null
+++ b/src/dwebp.h
@@ -0,0 +1,19 @@
+#ifndef __WEBP_H__
+#define __WEBP_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+#include "url.h"
+#include "image.hh"
+
+
+void *a_Webp_new(DilloImage *Image, DilloUrl *url, int version);
+void a_Webp_callback(int Op, void *data);
+
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+#endif /* !__WEBP_H__ */