Skip to content
Snippets Groups Projects
BlurhashProvider.h 294 B
Newer Older
#include <QQuickImageProvider>

class BlurhashProvider : public QQuickImageProvider
{
public:
        BlurhashProvider()
          : QQuickImageProvider(QQuickImageProvider::Image)
        {}

        QImage requestImage(const QString &id, QSize *size, const QSize &requestedSize) override;
};