From d982fa6f55588ada8e5dd1bcb680ac817fcc5de4 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Tue, 4 Oct 2016 21:54:28 +0200 Subject: items: Add option to shave image borders A workaround for badly exported images that contain some garbage at the borders. The amount specifies how many pixels should be shaved from all borders (i.e. amount of 2 results in 4x4 pixels loss). Applicable for particular items or whole album ( section) with the following syntax: --- src/items.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/items.h') diff --git a/src/items.h b/src/items.h index 24a521f..2eaf7fb 100644 --- a/src/items.h +++ b/src/items.h @@ -93,6 +93,7 @@ typedef struct { typedef enum { PROP_BORDER_STYLE, + PROP_SHAVE_AMOUNT, PROP_THUMB_CROP_HINT, PROP_METADATA_TZ_SHIFT, /* minutes */ PROP_METADATA_OVERRIDE_DATETIME, -- cgit v1.2.3