Add .ppm as a valid image file type.
authorCarl Hetherington <cth@carlh.net>
Sun, 23 Aug 2020 18:25:31 +0000 (20:25 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 13 Sep 2020 18:23:29 +0000 (20:23 +0200)
src/lib/util.cc

index 84138f4d94aa7194f2f1f9ce82edad04fa970174..6db381108692e88a0ee48ef3c25a8c4937808bdd 100644 (file)
@@ -612,7 +612,7 @@ valid_image_file (boost::filesystem::path f)
                ext == ".tif" || ext == ".tiff" || ext == ".jpg" || ext == ".jpeg" ||
                ext == ".png" || ext == ".bmp" || ext == ".tga" || ext == ".dpx" ||
                ext == ".j2c" || ext == ".j2k" || ext == ".jp2" || ext == ".exr" ||
-               ext == ".jpf"
+               ext == ".jpf" || ext == ".ppm"
                );
 }