ImageFilter

A description for ImageFilter.

class ImageFilter : public AbstractFileFilter

Manages the import/export of data from/to an image file.

Public Functions

virtual void readDataFromFile(const QString &fileName, AbstractDataSource* = nullptr, ImportMode = ImportMode::Replace) override

reads the content of the file fileName to the data source dataSource.

virtual void write(const QString &fileName, AbstractDataSource*) override

writes the content of the data source dataSource to the file fileName.

virtual void save(QXmlStreamWriter*) const override

Saves as XML.

virtual bool load(XmlStreamReader*) override

Loads from XML.

Public Static Functions

static QStringList importFormats()

returns the list of all predefined import formats.