GXDE Bernese
Loading...
Searching...
No Matches
image_utils.h
1/*
2 * Copyright (C) 2026 CharOfString <root@charofstring.cc>
3 *
4 * This program is free software: you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the Free
6 * Software Foundation, either version 3 of the License, or (at your option)
7 * any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program. If not, see <https://www.gnu.org/licenses/>.
16 */
17
18#ifndef IMAGE_UTILS_IMAGE_UTILS_H_
19#define IMAGE_UTILS_IMAGE_UTILS_H_
20
21#include "QImage"
22#include "QString"
23#include "QtGlobal"
24
25#include "bernese/export.h"
26
27namespace bernese {
28namespace image_utils {
29
41BERNESE_EXPORT QString ScaledAssetPath(
42 const QString& path, qreal scale, qreal* source_scale);
43
54BERNESE_EXPORT void Blur(QImage& image, qreal radius);
55
56} // namespace image_utils
57} // namespace bernese
58
59#endif // IMAGE_UTILS_IMAGE_UTILS_H_