Mark .exr as a valid image file.
authorCarl Hetherington <cth@carlh.net>
Thu, 14 Dec 2017 19:39:04 +0000 (19:39 +0000)
committerCarl Hetherington <cth@carlh.net>
Thu, 14 Dec 2017 19:39:04 +0000 (19:39 +0000)
src/lib/util.cc

index 1f5b29101de78c7657a2341623590eed7b3ad92f..637030e86da56d5cc5c8de343b7c9f949ad78db3 100644 (file)
@@ -573,7 +573,7 @@ valid_image_file (boost::filesystem::path f)
        return (
                ext == ".tif" || ext == ".tiff" || ext == ".jpg" || ext == ".jpeg" ||
                ext == ".png" || ext == ".bmp" || ext == ".tga" || ext == ".dpx" ||
-               ext == ".j2c" || ext == ".j2k" || ext == ".jp2"
+               ext == ".j2c" || ext == ".j2k" || ext == ".jp2" || ext == ".exr"
                );
 }