Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
blurhash.hpp
Go to the documentation of this file.
1//
2// Created by kj16609 on 9/26/23.
3//
4
5#pragma once
6#ifndef ATLASGAMEMANAGER_BLURHASH_HPP
7#define ATLASGAMEMANAGER_BLURHASH_HPP
8
9#include <QPixmap>
10
11#include <filesystem>
12
13namespace atlas::images
14{
15 std::string createBlurhash( const QPixmap& pixmap );
16 std::string createBlurhash( QImage image );
17 std::string createBlurhash( const std::filesystem::path& path );
18 [[nodiscard]] QPixmap getBlurhash( const std::filesystem::path&, const QSize size );
19} // namespace atlas::images
20
21#endif //ATLASGAMEMANAGER_BLURHASH_HPP
Definition blurhash.cpp:16
std::string createBlurhash(const QPixmap &pixmap)
Definition blurhash.cpp:18
QPixmap getBlurhash(const std::filesystem::path &path, const QSize size)
Definition blurhash.cpp:99