From 248a9af6ad668b6f09f79dda548721756fe11d79 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sun, 4 Jan 2015 23:01:42 +0100 Subject: Introduce new "fixed" thumbnail crop mode This mode retains given aspect ratio and crops the area from inside of the source image. --- src/jpeg-utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jpeg-utils.h') diff --git a/src/jpeg-utils.h b/src/jpeg-utils.h index 3700d66..9e4c729 100644 --- a/src/jpeg-utils.h +++ b/src/jpeg-utils.h @@ -25,7 +25,7 @@ G_BEGIN_DECLS -#define SQUARED_SIMPLE_SHAVE_AMOUNT 0 /* percent */ +#define CROP_SIMPLE_SHAVE_AMOUNT 0 /* percent */ /* EXIF data known keys */ #define EXIF_APERTURE "Exif.Photo.FNumber" @@ -57,7 +57,7 @@ typedef struct { double override_aperture; double override_focal_length; gchar *external_exif_data; - gboolean squared_thumbnail; + TCropStyle thumbnail_crop_style; TCropHint thumbnail_crop_hint; } ExifData; -- cgit v1.2.3