summaryrefslogtreecommitdiff
path: root/src/jpeg-utils.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2016-09-26 14:56:06 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2016-10-02 17:11:34 +0200
commitce1ae1ff69309ec7f1905e928a9d43eb8ae86dbe (patch)
tree1333e1cf81b034681c4ac6b35665c17ccd984048 /src/jpeg-utils.h
parentc80c60eb0623268112b5a0c37d80ada0384c3e90 (diff)
downloadcataract-ce1ae1ff69309ec7f1905e928a9d43eb8ae86dbe.tar.xz
jpeg-utils: Add support for custom resize options
This change brings the possibility to tweak resize options using standard ImageMagick `convert` command syntax. Separate options are offered for thumbnails.
Diffstat (limited to 'src/jpeg-utils.h')
-rw-r--r--src/jpeg-utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jpeg-utils.h b/src/jpeg-utils.h
index 405d9b0..e23dee7 100644
--- a/src/jpeg-utils.h
+++ b/src/jpeg-utils.h
@@ -100,7 +100,8 @@ gboolean resize_image (const gchar *src, const gchar *dst,
int quality,
gboolean thumbnail,
gboolean autorotate,
- ExifData *exif);
+ ExifData *exif,
+ gchar *resize_opts);
/*
* get_image_sizes: retrieve image dimensions