diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-04-27 20:56:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-04-27 20:56:35 +0100 |
| commit | becbcedd712a6d53c4c6be56aadf3121b2f16341 (patch) | |
| tree | bcf06eb98e621678eedb742d6df8642755366ed7 /src/lib/util.cc | |
| parent | a4afc8e3dd6ce7c5f02d0eb69f03bf9f043afed0 (diff) | |
Add .dpx to the list of acceptable image files.
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 7a19790eb..f15d2283c 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -876,7 +876,7 @@ valid_image_file (boost::filesystem::path f) { string ext = f.extension().string(); transform (ext.begin(), ext.end(), ext.begin(), ::tolower); - return (ext == ".tif" || ext == ".tiff" || ext == ".jpg" || ext == ".jpeg" || ext == ".png" || ext == ".bmp" || ext == ".tga"); + return (ext == ".tif" || ext == ".tiff" || ext == ".jpg" || ext == ".jpeg" || ext == ".png" || ext == ".bmp" || ext == ".tga" || ext == ".dpx"); } string |
