The OEImageFileCreatorBase is an abstract class that is used to register concrete image types.
OEImageFileCreatorBase(const std::string &ext, bool multi=false)
OEImageFileCreatorBase *CreateCopy() const =0
Virtual const constructor which allows copying of concrete derived objects using a reference to this base class.
OEImageFileBase *CreateImage(double width, double height) const =0
The OEImageFileCreatorBase::CreateImage is a virtual method that has to be implemented in the concrete derived classes and it returns a pointer of concrete image with the given dimensions.
const std::string GetExtension() const
Return the file extension of which the concrete image type is being registered.
bool IsMultiPage() const
Returns whether the image type registered as multi-page image.