kis_tiff_psd_writer_visitor.h (krita-5.1.3.tar.xz) | : | kis_tiff_psd_writer_visitor.h (krita-5.1.4.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 18 | skipping to change at line 18 | |||
#ifndef _KIS_TIFF_PSD_WRITER_VISITOR_H | #ifndef _KIS_TIFF_PSD_WRITER_VISITOR_H | |||
#define _KIS_TIFF_PSD_WRITER_VISITOR_H | #define _KIS_TIFF_PSD_WRITER_VISITOR_H | |||
#include <tiffio.h> | #include <tiffio.h> | |||
#include <array> | #include <array> | |||
#include <KisImportExportErrorCode.h> | #include <KisImportExportErrorCode.h> | |||
#include <kis_types.h> | #include <kis_types.h> | |||
struct KisTiffOptions; | struct KisTIFFOptions; | |||
class KisTiffPsdWriter : public QObject | class KisTiffPsdWriter : public QObject | |||
{ | { | |||
Q_OBJECT | Q_OBJECT | |||
public: | public: | |||
KisTiffPsdWriter(TIFF *image, KisTIFFOptions *options); | KisTiffPsdWriter(TIFF *image, KisTIFFOptions *options); | |||
~KisTiffPsdWriter() override; | ~KisTiffPsdWriter() override; | |||
public: | ||||
KisImportExportErrorCode writeImage(KisGroupLayerSP rootLayer); | KisImportExportErrorCode writeImage(KisGroupLayerSP rootLayer); | |||
private: | private: | |||
inline TIFF *image() | inline TIFF *image() | |||
{ | { | |||
return m_image; | return m_image; | |||
} | } | |||
bool copyDataToStrips(KisHLineConstIteratorSP it, | bool copyDataToStrips(KisHLineConstIteratorSP it, | |||
tdata_t buff, | tdata_t buff, | |||
uint32_t depth, | uint32_t depth, | |||
uint16_t sample_format, | uint16_t sample_format, | |||
uint8_t nbcolorssamples, | uint8_t nbcolorssamples, | |||
const std::array<quint8, 5> &poses); | const std::array<quint8, 5> &poses); | |||
bool saveLayerProjection(KisLayer *); | bool saveLayerProjection(KisLayer *); | |||
private: | ||||
TIFF *m_image; | TIFF *m_image; | |||
KisTIFFOptions *m_options; | KisTIFFOptions *m_options; | |||
}; | }; | |||
#endif // _KIS_TIFF_PSD_WRITER_VISITOR_H | #endif // _KIS_TIFF_PSD_WRITER_VISITOR_H | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added |