6#ifndef ATLASGAMEMANAGER_THUMBNAILS_HPP
7#define ATLASGAMEMANAGER_THUMBNAILS_HPP
24 std::filesystem::path
createThumbnail(
const std::filesystem::path& image_path );
27 std::filesystem::path
thumbnailPath(
const std::filesystem::path& image );
30 QPixmap
thumbnail(
const std::filesystem::path& path );
SCALE_TYPE
Definition config.hpp:219
QFuture< QPixmap > scaledThumbnail(const QSize size, const SCALE_TYPE scale_type, const std::filesystem::path &path)
Definition thumbnails.cpp:177
QFuture< QPixmap > thumbnail(const std::filesystem::path &path)
Definition thumbnails.cpp:167
Definition blurhash.cpp:16
std::filesystem::path createThumbnail(const std::filesystem::path &image_path)
Creates a thumbnail for a given image.
Definition thumbnails.cpp:24
std::filesystem::path thumbnailPath(const std::filesystem::path &image)
Returns the thumbnail path for an image. Will return an empty path if no thumbnail is made.
Definition thumbnails.cpp:46
QPixmap thumbnail(const std::filesystem::path &path)
Returns the thumbnail for a path. Path must be a TRUE image. NOT the thumbnail path.
Definition thumbnails.cpp:59