blob: a4036614a3c372d32322455149ef0f7523e8ddba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <QSize>
#include <QString>
namespace QmlDesigner {
class ImageUtils
{
public:
ImageUtils();
static QString imageInfo(const QSize &dimensions, qint64 sizeInBytes);
static QString imageInfo(const QString &path);
};
} // namespace QmlDesigner
|