6#ifndef ATLAS_IMAGEMANAGER_HPP
7#define ATLAS_IMAGEMANAGER_HPP
19template <
typename T >
24 ImageManagerException(
const char*
const msg,
const std::source_location loc = std::source_location::current() ) :
31 ImageImportError(
const char*
const msg,
const std::source_location loc = std::source_location::current() ) :
38 ImageSaveError(
const char*
const msg,
const std::source_location loc = std::source_location::current() ) :
45 ImageLoadError(
const char*
const msg,
const std::source_location loc = std::source_location::current() ) :
55 QImage
blurImage(
const QImage& image, qreal blur_radius,
bool quality_blur,
bool alpha_only,
int transposed = 0 );
57 blurPixmap(
const QPixmap& pixmap, qreal blur_radius,
bool quality_blur,
bool alpha_only,
int transposed = 0 );
Definition blurhash.cpp:16
QImage blurImage(const QImage &image, const qreal blur_radius, bool quality_blur, bool alpha_only, int transposed)
Definition images.cpp:43
QPixmap blurPixmap(const QPixmap &pixmap, qreal blur_radius, bool quality_blur, bool alpha_only, int transposed)
Definition images.cpp:49
void cleanOrphans()
Clears all images not found attached to any record.
Definition images.cpp:23
ImageImportError(const char *const msg, const std::source_location loc=std::source_location::current())
Definition images.hpp:31
ImageLoadError(const char *const msg, const std::source_location loc=std::source_location::current())
Definition images.hpp:45
ImageManagerException(const char *const msg, const std::source_location loc=std::source_location::current())
Definition images.hpp:24
ImageSaveError(const char *const msg, const std::source_location loc=std::source_location::current())
Definition images.hpp:38
AtlasException(const char *const msg, const std::source_location loc=std::source_location::current())
Definition exceptions.hpp:26