20 #ifndef DX_IO_JPK_IO_PLUGIN_OST_HH
21 #define DX_IO_JPK_IO_PLUGIN_OST_HH
26 namespace ost {
namespace io {
31 JPK(boost::logic::tribool normalize_on_save =
true,
Format bit_depth =
OST_DEFAULT_FORMAT,
bool sign =
false,
bool phasecolor =
false,
int subimage = -1);
45 virtual void Import(img::MapHandle& sh,
const boost::filesystem::path& loc,
const ImageFormatBase& formatstruct);
46 virtual void Import(img::MapHandle& sh, std::istream& loc,
const ImageFormatBase& formatstruct);
47 void Export(
const img::MapHandle& image ,
const boost::filesystem::path& location,
const ImageFormatBase& formatstruct)
const;
48 void Export(
const img::MapHandle& image, std::ostream& loc,
const ImageFormatBase& formatstruct)
const;
49 static bool MatchContent(
unsigned char* header);
51 static bool MatchSuffix(
const String& loc);