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;
Manage shared instances of images.
JPK(boost::logic::tribool normalize_on_save=true, Format bit_depth=OST_DEFAULT_FORMAT, bool sign=false, bool phasecolor=false, int subimage=-1)
static bool MatchType(const ImageFormatBase &type)
static String GetFormatName()
virtual void Import(img::MapHandle &sh, std::istream &loc, const ImageFormatBase &formatstruct)
static bool MatchContent(unsigned char *header)
void Export(const img::MapHandle &image, const boost::filesystem::path &location, const ImageFormatBase &formatstruct) const
void Export(const img::MapHandle &image, 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)
Map IO handler to read/write Situs map files.
MapIOHandlerFactory< MapIOJpkHandler > MapIOJpkHandlerFactory