20 #ifndef OST_IO_MAP_IO_PNG_HANDLER_HH
21 #define OST_IO_MAP_IO_PNG_HANDLER_HH
25 namespace ost {
namespace io {
31 PNG(
bool normalize_on_save =
true);
33 bool GetNormalizeOnSave()
const;
34 void SetNormalizeOnSave(
bool normalize_on_save);
35 Real GetMaximum()
const;
36 Real GetMinimum()
const;
42 bool normalize_on_save_;
static String GetFormatName()
MapIOHandlerFactory< MapIOPngHandler > MapIOPngHandlerFactory
static bool MatchType(const ImageFormatBase &type)
static String GetFormatDescription()
static bool ProvidesExport()
static String FORMAT_STRING
static bool MatchSuffix(const String &loc)
static bool MatchContent(unsigned char *header)
Manage shared instances of images.
virtual void Export(const img::MapHandle &sh, const boost::filesystem::path &loc, const ImageFormatBase &formatstruct) const
virtual void Import(img::MapHandle &sh, const boost::filesystem::path &loc, const ImageFormatBase &formatstruct)
Map IO handler to read/write png image files.
static bool ProvidesImport()