aboutsummaryrefslogtreecommitdiff
path: root/thumbnail.h
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-03-24 02:39:23 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-03-28 03:15:27 +0200
commitfa97b1904c72c184b09c627c7ccab0d0db4a060c (patch)
tree917ec45c58dd1c55caa96aef6133a19ba68ab453 /thumbnail.h
parent30d31e8c9d98b5641954207a909b531d9fc922c5 (diff)
downloadslcl-imagemagick.tar.gz
WIP thumbnail stuffimagemagick
Diffstat (limited to 'thumbnail.h')
-rw-r--r--thumbnail.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/thumbnail.h b/thumbnail.h
new file mode 100644
index 0000000..f4cfc58
--- /dev/null
+++ b/thumbnail.h
@@ -0,0 +1,15 @@
+#ifndef THUMBNAIL_H
+#define THUMBNAIL_H
+
+#include <stdbool.h>
+
+struct thumbnail_dim
+{
+ unsigned long w, h;
+};
+
+bool thumbnail_configured(void);
+int thumbnail_create(const char *src, const char *dst);
+int thumbnail_dim(const char *path, struct thumbnail_dim *d);
+
+#endif /* THUMBNAIL_H */