Browse Source

Removed PalImporter and RawImporter aliases.

They are too broad -- for example there is PaintShopPro PAL file or Halo
PAL file with nothing in common, I know at least 10 formats that are RAW
and all of them are completely different (camera bayer? compressed
camera bayer? how much bits? what? videos? memory dump? huh?).
pull/205/head
Vladimír Vondruš 10 years ago
parent
commit
5c48bb8ad7
  1. 4
      src/MagnumPlugins/AnyImageImporter/AnyImageImporter.cpp

4
src/MagnumPlugins/AnyImageImporter/AnyImageImporter.cpp

@ -68,8 +68,6 @@ void AnyImageImporter::doOpenFile(const std::string& filename) {
plugin = "Jp2Importer";
else if(Utility::String::endsWith(filename, ".mng"))
plugin = "MngImporter";
else if(Utility::String::endsWith(filename, ".pal"))
plugin = "PalImporter";
else if(Utility::String::endsWith(filename, ".pbm"))
plugin = "PbmImporter";
else if(Utility::String::endsWith(filename, ".pcx"))
@ -86,8 +84,6 @@ void AnyImageImporter::doOpenFile(const std::string& filename) {
plugin = "PpmImporter";
else if(Utility::String::endsWith(filename, ".psd"))
plugin = "PsdImporter";
else if(Utility::String::endsWith(filename, ".raw"))
plugin = "RawImporter";
else if(Utility::String::endsWith(filename, ".sgi") ||
Utility::String::endsWith(filename, ".bw") ||
Utility::String::endsWith(filename, ".rgb") ||

Loading…
Cancel
Save