Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
blurhash.cpp File Reference
#include "core/images/blurhash.hpp"
#include <blurhash-cxx.hpp>
#include "core/database/RapidTransaction.hpp"
#include "core/utils/ImageCache/ImageCache.hpp"
#include "loader.hpp"

Namespaces

namespace  atlas
 
namespace  atlas::images
 

Functions

std::string atlas::images::createBlurhash (const QPixmap &pixmap)
 
std::string atlas::images::createBlurhash (QImage image)
 
QPixmap atlas::images::decodeBlurhash (const std::string &hash, int width, int height)
 
QPixmap atlas::images::getBlurhash (const std::filesystem::path &path, const QSize size)
 

Variables

static atlas::cache::ImageCache blurhash_cache
 

Variable Documentation

◆ blurhash_cache

atlas::cache::ImageCache blurhash_cache
inlinestatic