Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
thumbnails.hpp File Reference
#include <QFuture>
#include <QImage>
#include <filesystem>
#include "core/config/config.hpp"
#include "core/utils/ImageCache/ImageCache.hpp"

Go to the source code of this file.

Namespaces

namespace  atlas
 
namespace  atlas::images
 
namespace  atlas::images::async
 

Macros

#define ATLASGAMEMANAGER_THUMBNAILS_HPP
 

Functions

std::filesystem::path atlas::images::createThumbnail (const std::filesystem::path &image_path)
 Creates a thumbnail for a given image.
 
std::filesystem::path atlas::images::thumbnailPath (const std::filesystem::path &image)
 Returns the thumbnail path for an image. Will return an empty path if no thumbnail is made.
 
QPixmap atlas::images::thumbnail (const std::filesystem::path &path)
 Returns the thumbnail for a path. Path must be a TRUE image. NOT the thumbnail path.
 
QFuture< QPixmap > atlas::images::async::thumbnail (const std::filesystem::path &path)
 
QFuture< QPixmap > atlas::images::async::scaledThumbnail (const QSize size, const SCALE_TYPE scale_type, const std::filesystem::path &path)
 

Macro Definition Documentation

◆ ATLASGAMEMANAGER_THUMBNAILS_HPP

#define ATLASGAMEMANAGER_THUMBNAILS_HPP