projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e96f917
)
Recognise .webp as an image file.
author
Carl Hetherington
<cth@carlh.net>
Mon, 2 Sep 2024 13:18:58 +0000
(15:18 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 2 Sep 2024 13:18:58 +0000
(15:18 +0200)
src/lib/util.cc
patch
|
blob
|
history
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index fdc647fbab8c9506bc9a2ee4cc7894b44a341982..f637534a913db8c38ed65221d8f626537189966f 100644
(file)
--- 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"
);
}