File indexing completed on 2024-05-05 03:48:22

0001 /*
0002     File                 : ImageTools.cpp
0003     Project              : LabPlot
0004     Description          : Collection of different image processing algorithms
0005     --------------------------------------------------------------------
0006     SPDX-FileCopyrightText: 2017 Alexander Semke <alexander.semke@web.de>
0007     SPDX-License-Identifier: GPL-2.0-or-later
0008 */
0009 
0010 #ifndef IMAGETOOLS_H
0011 #define IMAGETOOLS_H
0012 
0013 #include <QImage>
0014 
0015 class ImageTools {
0016 public:
0017     static QImage blurred(const QImage& image, QRect rect, int radius, bool alphaOnly = false);
0018 };
0019 
0020 #endif