25 namespace FotoSHOCKcore {
56 static std::pair<std::string, Formats::Enum> map_data[] = {
57 std::make_pair(
"jpg", Formats::JPG),
58 std::make_pair(
"jpeg", Formats::JPG),
59 std::make_pair(
"png", Formats::PNG),
60 std::make_pair(
"exr", Formats::EXR)
67 #ifdef DEFINE_ExtToFormatsMap
68 std::map<std::string, Formats::Enum> ExtToFormatsMap (
69 map_data, map_data +
sizeof map_data /
sizeof map_data[0]
72 extern std::map<std::string, Formats::Enum> ExtToFormatsMap;