From 47bb22a4aee886deb54ca432bdb14747bf2e9160 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 30 Apr 2021 16:33:07 +0200 Subject: Support webp thumbnails --- include/AsyncImageLoader.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/AsyncImageLoader.hpp') 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 #include #include @@ -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; -- cgit v1.2.3