20 #ifndef DX_IO_DAT_IO_PLUGIN_OST_HH
21 #define DX_IO_DAT_IO_PLUGIN_OST_HH
30 namespace ost {
namespace io {
39 Format GetBitDepth()
const;
40 void SetBitDepth (
Format bitdepth);
42 bool GetSigned ()
const;
43 void SetSigned (
bool sign);
47 bool GetNormalizeOnSave()
const;
48 void SetNormalizeOnSave(
bool noralize_on_save);
53 bool normalize_on_save_;
65 virtual void Import(img::MapHandle& sh,
const boost::filesystem::path& loc,
const ImageFormatBase& formatstruct );
66 virtual void Import(img::MapHandle& sh, std::istream& loc,
const ImageFormatBase& formatstruct);
67 virtual void Export(
const img::MapHandle& sh,
const boost::filesystem::path& loc,
const ImageFormatBase& formatstruct)
const;
68 virtual void Export(
const img::MapHandle& sh, std::ostream& loc,
const ImageFormatBase& formatstruct)
const;
69 static bool MatchContent(
unsigned char* header);
71 static bool MatchSuffix(
const String& loc);