12#include <klocalizedstring.h>
24 ExifCheck(
const QString &
id,
Level level,
const QString &customWarning = QString())
27 if (customWarning.isEmpty()) {
28 m_warning = i18nc(
"image conversion warning",
"The image contains <b>Exif</b> metadata. The metadata will not be saved.");
58 return new ExifCheck(
id(), level, customWarning);
61 QString
id()
const override {
73 if (customWarning.isEmpty()) {
74 m_warning = i18nc(
"image conversion warning",
75 "The image has <b>Exif</b> metadata and multiple layers. Only metadata <b>in the first "
76 "layer</b> will be saved.");
110 QString
id()
const override
112 return "TiffExifCheck";
KisExportCheckBase * create(KisExportCheckBase::Level level, const QString &customWarning) override
QString id() const override
~ExifCheckFactory() override
Level check(KisImageSP) const override
ExifCheck(const QString &id, Level level, const QString &customWarning=QString())
bool checkNeeded(KisImageSP image) const override
The KisExifInfoVisitor class looks for a layer with metadata.
KisMetaData::Store * exifInfo()
bool visit(KisNode *) override
The KisExportCheckBase class defines the interface of the individual checks of an export filter's cap...
virtual QString id() const
KisGroupLayerSP rootLayer() const
KisExportCheckBase * create(KisExportCheckBase::Level level, const QString &customWarning) override
QString id() const override
~TiffExifCheckFactory() override
TiffExifCheck(const QString &id, Level level, const QString &customWarning=QString())
Level check(KisImageSP) const override
bool checkNeeded(KisImageSP image) const override
#define KIS_ASSERT_RECOVER_RETURN_VALUE(cond, val)
quint32 childCount() const