From fadcce2c36b0f5767e79f429ca41f80292651d48 Mon Sep 17 00:00:00 2001 From: Stéphane Aulery Date: Fri, 24 Oct 2014 01:42:36 +0200 Subject: Trimming pictures by default (Fbi, edit mode) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit By default, crop images with unconventional dimensions. Signed-off-by: Stéphane Aulery Signed-off-by: Gerd Hoffmann --- fbi.c | 2 ++ 1 file changed, 2 insertions(+) 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 { -- cgit