aboutsummaryrefslogtreecommitdiff
path: root/include/ImageUtils.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-09-17 19:20:36 +0200
committerdec05eba <dec05eba@protonmail.com>2020-09-17 19:27:00 +0200
commit3b21eda9ad3b2ece9c6e5472eb419fb4d88424bd (patch)
tree033558bb30d6ca9e580a59696e330e4e6bc1274a /include/ImageUtils.hpp
parent5e7215b4675955fee8197076914599fe62f39c26 (diff)
Add image upscaling with waifu2x-ncnn-vulkan, async load images in scroll image view mode
Diffstat (limited to 'include/ImageUtils.hpp')
-rw-r--r--include/ImageUtils.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/ImageUtils.hpp b/include/ImageUtils.hpp
new file mode 100644
index 0000000..f0670d6
--- /dev/null
+++ b/include/ImageUtils.hpp
@@ -0,0 +1,8 @@
+#pragma once
+
+#include "Path.hpp"
+
+namespace QuickMedia {
+ // Works with jpg, png and gif files
+ bool image_get_resolution(const Path &path, int *width, int *height);
+} \ No newline at end of file