26#include "DataFileAbstract.h"
28using namespace Qt::Literals::StringLiterals;
41class TIFF :
public DataFileAbstract
51 TIFF(
const QString& fileName);
73 [[nodiscard]] QMap<quint16, QVariantList>
fields() {
return m_TIFFFields; }
79 [[nodiscard]] QSize
rasterSize() {
return m_rasterSize; }
90 [[nodiscard]]
static QStringList
mimeTypes() {
return {u
"image/tiff"_s}; }
100 void readTIFFData(QIODevice& device);
117 void readTIFFField(QIODevice& device, QDataStream& dataStream);
122 void readRasterSize();
128 QMap<quint16, QVariantList> m_TIFFFields;