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);
32 static String FORMAT_STRING;
33 static String FORMAT_NAME_STRING;
34 static String FORMAT_DESCRIPTION_STRING;
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);
50 static bool MatchType(
const ImageFormatBase& type);
51 static bool MatchSuffix(
const String& loc);
static String GetFormatName()
static String GetFormatDescription()
MapIOHandlerFactory< MapIOJpkHandler > MapIOJpkHandlerFactory