diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-14 23:16:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-14 23:16:11 +0100 |
| commit | 35c5230d4fac9bbf21be2ede232219ae619d071d (patch) | |
| tree | 162eddeee813b40d3c4575156d2299477c3719e3 /src | |
| parent | c17854ec972df7aae979a7786451f4c0d1470522 (diff) | |
Assume .jpf is an image (JPEG2000).
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/util.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index 7da5f9f90..909a93ba8 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -577,7 +577,8 @@ valid_image_file (boost::filesystem::path f) return ( 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 == ".j2c" || ext == ".j2k" || ext == ".jp2" || ext == ".exr" || + ext == ".jpf" ); } |
