diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-09-02 15:18:58 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-09-02 15:18:58 +0200 |
| commit | 8a35abc14d53a1e9a0dcaf78d793e0cca8bfeb73 (patch) | |
| tree | 8034d30a6b25f0d75afc60782a28b4ac855aed84 /src/lib/util.cc | |
| parent | e96f917d51f9606a550902dbc16e0971a8967039 (diff) | |
Recognise .webp as an image file.
Diffstat (limited to 'src/lib/util.cc')
| -rw-r--r-- | src/lib/util.cc | 2 |
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" ); } |
