digiKam
Loading...
Searching...
No Matches
frameutils.h
Go to the documentation of this file.
1/* ============================================================
2 *
3 * This file is a part of digiKam project
4 * https://www.digikam.org
5 *
6 * Date : 2017-05-24
7 * Description : utils to generate video frames.
8 *
9 * SPDX-FileCopyrightText: 2017-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 *
11 * SPDX-License-Identifier: GPL-2.0-or-later
12 *
13 * ============================================================ */
14
15#pragma once
16
17// Qt includes
18
19#include <QSize>
20#include <QString>
21#include <QImage>
22
23// Local includes
24
25#include "digikam_export.h"
26
27namespace Digikam
28{
29
30class DIGIKAM_EXPORT FrameUtils
31{
32public:
33
34 static QImage makeFramedImage(const QString& file, const QSize& outSize);
35 static QImage makeScaledImage(QImage& timg, const QSize& outSize);
36};
37
38} // namespace Digikam
Definition frameutils.h:31
Definition datefolderview.cpp:34