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

0001 /*
0002  *  SPDX-FileCopyrightText: 2006 Cyrille Berger <cberger@cberger.net>
0003  *  SPDX-FileCopyrightText: 2021 L. E. Segovia <amy@amyspark.me>
0004  *
0005  *  SPDX-License-Identifier: GPL-2.0-or-later
0006  */
0007 
0008 #ifndef _KIS_TIFF_PSD_WRITER_VISITOR_H
0009 #define _KIS_TIFF_PSD_WRITER_VISITOR_H
0010 
0011 #include <tiffio.h>
0012 
0013 #include <array>
0014 
0015 #include <KisImportExportErrorCode.h>
0016 #include <kis_types.h>
0017 
0018 #include "kis_tiff_base_writer.h"
0019 
0020 struct KisTIFFOptions;
0021 
0022 class KisTiffPsdWriter : public QObject, protected KisTIFFBaseWriter
0023 {
0024     Q_OBJECT
0025 public:
0026     KisTiffPsdWriter(TIFF *image, KisTIFFOptions *options);
0027     ~KisTiffPsdWriter() override;
0028 
0029     KisImportExportErrorCode writeImage(KisGroupLayerSP rootLayer);
0030 };
0031 
0032 #endif // _KIS_TIFF_PSD_WRITER_VISITOR_H