summaryrefslogtreecommitdiff
path: root/src/jpeg-utils.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2015-01-04 23:01:42 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2015-01-04 23:01:42 +0100
commit248a9af6ad668b6f09f79dda548721756fe11d79 (patch)
tree6ace053a06d55935e6ff2ba1bf571ab5d6fa7c61 /src/jpeg-utils.h
parentcd4658f7154fbfa58c09c101b9753ef85a62620d (diff)
downloadcataract-248a9af6ad668b6f09f79dda548721756fe11d79.tar.xz
Introduce new "fixed" thumbnail crop mode
This mode retains given aspect ratio and crops the area from inside of the source image.
Diffstat (limited to 'src/jpeg-utils.h')
-rw-r--r--src/jpeg-utils.h4
1 files changed, 2 insertions, 2 deletions
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;