diff options
-rw-r--r-- | src/ImageUtils.cpp | 2 | ||||
-rw-r--r-- | src/QuickMedia.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ImageUtils.cpp b/src/ImageUtils.cpp index d160450..008d8a9 100644 --- a/src/ImageUtils.cpp +++ b/src/ImageUtils.cpp @@ -94,6 +94,8 @@ namespace QuickMedia { return false; } + // TODO: Also support exif files. Exif files are containers for jpeg, tiff etc so once tiff has been implemented so can exif. + // Exif header is similar to jpeg. bool image_get_resolution(const Path &path, int *width, int *height) { FILE *file = fopen(path.data.c_str(), "rb"); if(!file) diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 36efb56..95a0a63 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -1982,7 +1982,7 @@ namespace QuickMedia { int image_width, image_height; if(image_get_resolution(image_filepath_tmp, &image_width, &image_height)) { - if(image_height < screen_height * 0.75) { + if(image_height < screen_height * 0.65) { rename_immediately = false; CopyOp copy_op; copy_op.source = image_filepath_tmp; |