20 #ifndef DX_IO_SPI_IO_PLUGIN_OST_HH
21 #define DX_IO_SPI_IO_PLUGIN_OST_HH
30 namespace ost {
namespace io {
39 bool GetNormalizeOnSave()
const;
40 void SetNormalizeOnSave(
bool normalize_on_save);
51 bool normalize_on_save_;
61 virtual void Import(img::MapHandle& sh,
const boost::filesystem::path& loc,
const ImageFormatBase& formatstruct);
62 virtual void Import(img::MapHandle& sh, std::istream& loc,
const ImageFormatBase& formatstruct);
63 virtual void Export(
const img::MapHandle& sh,
const boost::filesystem::path& loc,
const ImageFormatBase& formatstruct)
const;
64 virtual void Export(
const img::MapHandle& sh, std::ostream& loc,
const ImageFormatBase& formatstruct)
const;
65 static bool MatchContent(
unsigned char* header);
67 static bool MatchSuffix(
const String& loc);
72 void do_import(img::MapHandle& sh, std::istream& loc,
const ImageFormatBase& formatstruct);