File ImageFile.hpp¶
File List > export > internal > ImageFile.hpp
Go to the documentation of this file
//
// SPDX-FileCopyrightText: 2026 Michal Grabarczyk
// SPDX-License-Identifier: GPL-3.0-only WITH Universal-FOSS-exception-1.0
//
// This file is also available under a separate commercial license.
// See COMMERCIAL-LICENSING.md for contact information.
//
#pragma once
#include <QByteArray>
#include <QImage>
#include <QString>
namespace QAccelPlot::Internal {
QString localFilePath(const QString& pathOrUrl);
QByteArray imageFormatForPath(const QString& path);
void setImageResolution(QImage& image, qreal dpi);
QString writeImageFile(const QImage& image, const QString& path, const QByteArray& format, int quality);
} // namespace QAccelPlot::Internal