aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStéphane Aulery <saulery@free.fr>2014-10-24 01:42:36 +0200
committerGerd Hoffmann <kraxel@redhat.com>2014-10-27 13:37:19 +0100
commitfadcce2c36b0f5767e79f429ca41f80292651d48 (patch)
tree8f4decd055f13926d894c04a7df07231e7270204
parent19bd17fa608f782c23b1ac50987e741d85668d5b (diff)
downloadfbida-fadcce2c36b0f5767e79f429ca41f80292651d48.tar.gz
Trimming pictures by default (Fbi, edit mode)
By default, crop images with unconventional dimensions. Signed-off-by: Stéphane Aulery <saulery@free.fr> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r--fbi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fbi.c b/fbi.c
index aa0a921..13940d6 100644
--- a/fbi.c
+++ b/fbi.c
@@ -1547,6 +1547,7 @@ main(int argc, char *argv[])
(preserve ? JFLAG_FILE_KEEP_TIME : 0) |
JFLAG_TRANSFORM_IMAGE |
JFLAG_TRANSFORM_THUMBNAIL |
+ JFLAG_TRANSFORM_TRIM |
JFLAG_UPDATE_ORIENTATION);
flist_img_free(fcurrent);
} else {
@@ -1570,6 +1571,7 @@ main(int argc, char *argv[])
(preserve ? JFLAG_FILE_KEEP_TIME : 0) |
JFLAG_TRANSFORM_IMAGE |
JFLAG_TRANSFORM_THUMBNAIL |
+ JFLAG_TRANSFORM_TRIM |
JFLAG_UPDATE_ORIENTATION);
flist_img_free(fcurrent);
} else {