aboutsummaryrefslogtreecommitdiff
path: root/include/AsyncImageLoader.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-06 09:48:37 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-06 09:48:37 +0200
commit09b44d9681eaf66670f77cbd440300cdc22f3df3 (patch)
tree831d6b9ad914560e61cb4cbba9869d0b78e0336c /include/AsyncImageLoader.hpp
parent53448dd1f4cff1bd2b638d7c63b18848f2462229 (diff)
Manga: convert webp images to png to make them viewable
Diffstat (limited to 'include/AsyncImageLoader.hpp')
-rw-r--r--include/AsyncImageLoader.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/AsyncImageLoader.hpp b/include/AsyncImageLoader.hpp
index 672e0e6..7eed39e 100644
--- a/include/AsyncImageLoader.hpp
+++ b/include/AsyncImageLoader.hpp
@@ -38,6 +38,7 @@ namespace QuickMedia {
mgl::vec2i resize_target_size;
};
+ bool ffmpeg_convert_image_format(const Path &thumbnail_path, const Path &destination_path);
// If |symlink_if_no_resize| is false then a copy is made from |thumbnail_path| to |thumbnail_path_resized| instead of a symlink if |thumbnail_path| is not larger than |resize_target_size|.
// One example of why you might not want a symlink is if |thumbnail_path| is a temporary file.
bool create_thumbnail(const Path &thumbnail_path, const Path &thumbnail_path_resized, mgl::vec2i resize_target_size, ContentType content_type);