Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
import.cpp File Reference
#include "import.hpp"
#include <QImage>
#include <QNetworkAccessManager>
#include <QtConcurrent>
#include <fstream>
#include "blurhash.hpp"
#include "core/logging/logging.hpp"
#include "core/network/NetworkManager.hpp"
#include "core/utils/crypto.hpp"
#include "core/utils/threading/pools.hpp"
#include "images.hpp"

Namespaces

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

Functions

void atlas::images::saveImage (const QByteArray &byteArray, const std::filesystem::path &dest)
 
void atlas::images::saveImage (const QImage &img, const std::filesystem::path &dest)
 
std::filesystem::path atlas::images::importImage (const std::filesystem::path &path, const RecordID game_id)
 
std::filesystem::path atlas::images::importPixmap (const QPixmap pixmap, const RecordID game_id)
 
std::filesystem::path atlas::images::importImageFromURL (const QString url, const RecordID record_id)
 
QFuture< std::filesystem::path > atlas::images::async::importImageFromURL (const QString url, const RecordID record_id)
 
QFuture< std::filesystem::path > atlas::images::async::importImage (const std::filesystem::path &path, const RecordID game_id)
 Stores the image located at path in the data folder.