Adding support for jpeg and tiff file extensions (on behalf of sankeytms) see issue 1215.

For existing RT installations - add 'jpeg' in Preferences/FileBrowser tab, Parsed extensions.
This commit is contained in:
michael
2012-07-05 07:31:30 -04:00
parent 02c12d5259
commit 48a56db27e
6 changed files with 16 additions and 12 deletions

View File

@@ -95,7 +95,7 @@ void Thumbnail::_generateThumbnailImage () {
cfs.exifValid = false;
cfs.timeValid = false;
if (ext.lowercase()=="jpg") {
if (ext.lowercase()=="jpg" || ext.lowercase()=="jpeg") {
tpp = rtengine::Thumbnail::loadFromImage (fname, tw, th, 1, infoFromImage (fname));
if (tpp)
cfs.format = FT_Jpeg;