File indexing completed on 2024-12-22 04:15:44

0001 /*
0002  *  SPDX-FileCopyrightText: 2022 L. E. Segovia <amy@amyspark.me>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 
0007 #ifndef JPEG_XL_EXPORT_H_
0008 #define JPEG_XL_EXPORT_H_
0009 
0010 #include <KisImportExportFilter.h>
0011 
0012 class JPEGXLExport : public KisImportExportFilter
0013 {
0014     Q_OBJECT
0015 public:
0016     JPEGXLExport(QObject *parent, const QVariantList &);
0017     ~JPEGXLExport() override = default;
0018 
0019     KisImportExportErrorCode
0020     convert(KisDocument *document, QIODevice *io, KisPropertiesConfigurationSP cfg = nullptr) override;
0021     KisPropertiesConfigurationSP defaultConfiguration(const QByteArray &from = "",
0022                                                       const QByteArray &to = "") const override;
0023     KisConfigWidget *
0024     createConfigurationWidget(QWidget *parent, const QByteArray &from = "", const QByteArray &to = "") const override;
0025     void initializeCapabilities() override;
0026 };
0027 
0028 #endif