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/jpeg-utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/jpeg-utils.h') diff --git a/src/jpeg-utils.h b/src/jpeg-utils.h index d0664c9..b4ead79 100644 --- a/src/jpeg-utils.h +++ b/src/jpeg-utils.h @@ -60,6 +60,7 @@ typedef struct { gchar *external_exif_data; TCropStyle thumbnail_crop_style; TCropHint thumbnail_crop_hint; + int shave_amount; } ExifData; -- cgit v1.2.3