summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-02 15:18:58 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-02 15:18:58 +0200
commit8a35abc14d53a1e9a0dcaf78d793e0cca8bfeb73 (patch)
tree8034d30a6b25f0d75afc60782a28b4ac855aed84
parente96f917d51f9606a550902dbc16e0971a8967039 (diff)
Recognise .webp as an image file.
-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 fdc647fba..f637534a9 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -684,7 +684,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 == ".psd"
+ ext == ".jpf" || ext == ".psd" || ext == ".webp"
);
}