summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-08-23 20:25:31 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-13 20:23:29 +0200
commit56aeb3282f0e8cc8734e4d018f9b0946a0fb09fe (patch)
tree049c68df66229d7c6119e3e72aa2ea00279c5351
parent124de7ed2fc2569f145eb3c17760283817f72c6c (diff)
Add .ppm as a valid image file type.
-rw-r--r--src/lib/util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index 84138f4d9..6db381108 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -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"
);
}