aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-04-30 16:33:07 +0200
committerdec05eba <dec05eba@protonmail.com>2021-04-30 16:33:07 +0200
commit47bb22a4aee886deb54ca432bdb14747bf2e9160 (patch)
tree57f4cff63872f70b6d60bf098cb46879bccc3251 /include
parentc89ffb842054de24e2ad8020d9df81da55e3e574 (diff)
Support webp thumbnails
Diffstat (limited to 'include')
-rw-r--r--include/AsyncImageLoader.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/AsyncImageLoader.hpp b/include/AsyncImageLoader.hpp
index 4acae5e..0384a71 100644
--- a/include/AsyncImageLoader.hpp
+++ b/include/AsyncImageLoader.hpp
@@ -2,6 +2,7 @@
#include "../include/Storage.hpp"
#include "../include/MessageQueue.hpp"
+#include "../include/FileAnalyzer.hpp"
#include <SFML/System/Vector2.hpp>
#include <SFML/Graphics/Texture.hpp>
#include <SFML/System/Clock.hpp>
@@ -26,7 +27,7 @@ namespace QuickMedia {
};
// This function is async
- bool create_thumbnail(const Path &thumbnail_path, const Path &thumbnail_path_resized, sf::Vector2i resize_target_size);
+ bool create_thumbnail(const Path &thumbnail_path, const Path &thumbnail_path_resized, sf::Vector2i resize_target_size, ContentType content_type);
constexpr int NUM_IMAGE_LOAD_THREADS = 4;