From fa97b1904c72c184b09c627c7ccab0d0db4a060c Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Fri, 24 Mar 2023 02:39:23 +0100 Subject: WIP thumbnail stuff --- thumbnail.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 thumbnail.h (limited to 'thumbnail.h') 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 + +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 */ -- cgit v1.2.3