20 #ifndef OST_IO_DF3_HANDLER_HH
21 #define OST_IO_DF3_HANDLER_HH
28 namespace ost {
namespace io {
34 DF3(
bool normalize_on_save =
false);
40 static String FORMAT_STRING;
41 static String FORMAT_NAME_STRING;
42 static String FORMAT_ALIGNMENT_STRING;
46 bool normalize_on_save_;
Manage shared instances of images.
DF3(bool normalize_on_save=false)
bool GetNormalizeOnSave() const
void SetNormalizeOnSave(bool normalize_on_save)
static bool ProvidesExport()
static bool ProvidesImport()
static bool MatchType(const ImageFormatBase &type)
virtual void Export(const img::MapHandle &sh, const boost::filesystem::path &loc, const ImageFormatBase &formatstruct) const
static String GetFormatName()
virtual void Import(img::MapHandle &sh, std::istream &loc, const ImageFormatBase &formatstruct)
static bool MatchContent(unsigned char *header)
virtual void Export(const img::MapHandle &sh, std::ostream &loc, const ImageFormatBase &formatstruct) const
static bool MatchSuffix(const String &loc)
static String GetFormatDescription()
virtual void Import(img::MapHandle &sh, const boost::filesystem::path &loc, const ImageFormatBase &formatstruct)
MapIOHandlerFactory< DF3MapIOHandler > MapIODF3HandlerFactory